xcode 为iphone应用生成类图
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5857429/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
generate Class diagram for iphone app
提问by Pooja
i know how to generate class diagram in Xcode for iPhone app.
我知道如何在 Xcode 中为 iPhone 应用程序生成类图。
but i am searching for alternate way to represent it, because my app is very much big and it will difficult to put diagram and explanation in my thesis report.
但我正在寻找替代方式来表示它,因为我的应用程序非常大,很难在我的论文报告中放入图表和解释。
any idea how to represent all classes or app in short manner so i can put into my thesis report.
任何想法如何以简短的方式表示所有课程或应用程序,以便我可以将其放入我的论文报告中。
thank you very much
非常感谢您
回答by Anand
Just download OmniGraffleand then go to File->Open->Select your XcodeProject file
and that's it you'll have a class diagram.
只需下载 OmniGraffle,然后转到File->Open->Select your XcodeProject file
,就可以得到一个类图。
回答by Abizern
回答by mekala siva
Select the "FirstDemo.xcdatamodeld".Goto the "File" select the "print" option save as pdf formate in "ERD diagram".
选择“ FirstDemo.xcdatamodeld”。转到“文件”选择“打印”选项在“ERD图表”中另存为pdf格式。
Any screen issue faced goto the "File" select the "Page Setup"manage the custom sizes.
面临的任何屏幕问题转到“文件”选择“页面设置”管理自定义大小。
回答by Carlos Chaguendo
A Ruby script created by 'yoshimkd' that scans all swift code from the specified folders and files and automatically generates an entity diagram (similar to a class diagram) which can be viewed in a browser.
由 yoshimkd 创建的 Ruby 脚本,它扫描指定文件夹和文件中的所有 swift 代码,并自动生成可以在浏览器中查看的实体图(类似于类图)。
Usage: https://martinmitrevski.com/2016/10/12/swift-class-diagrams-and-more/
用法:https: //martinmitrevski.com/2016/10/12/swift-class-diagrams-and-more/