简体   繁体   English

从 *.xsd 模式文件自动生成 objective-c 类

[英]Auto generating objective-c classes from *.xsd schema file

I have XSD schema files that are huge in size.我有很大的 XSD 模式文件。

I need to create classes from these files but doing so manually is not the right way as there are some tools that create classes automatically, for eg Microsoft tool "XSD.exe" that converts the files into c++ classes.我需要从这些文件创建类,但手动创建类不是正确的方法,因为有些工具可以自动创建类,例如 Microsoft 工具“XSD.exe”,它将文件转换为 c++ 类。 I wanted to use them in Xcode but I am finding it difficult to port it.我想在 Xcode 中使用它们,但我发现很难移植它。

What is a good tool that can generate objcetive-c classes which can be used on iOS?什么是可以生成可在 iOS 上使用的 objcetive-c 类的好工具?

Thanks in advance,提前致谢,

Amit阿米特

If your generated C++ is standards compliant (no platform specific extensions), you can just use the C++.如果您生成的 C++ 符合标准(没有特定于平台的扩展),您可以只使用 C++。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM