How can I generate UML diagrams from Xcode4

前端 未结 6 651
有刺的猬
有刺的猬 2020-12-04 08:33

I watched a video with xcode 3, that shows a button \"Design\" that displays a UML diagram, but I can\'t find how to do it with xcode 4.

6条回答
  •  孤街浪徒
    2020-12-04 09:17

    This may help you but I didn't personally tested,

    https://developer.apple.com/legacy/library/documentation/DeveloperTools/Conceptual/XCodeDesignTools/XCodeDesignTools.pdf

    The Xcode class modeling tool helps you to explore and understand the classes in your project, whether they’re written in Objective-C, C++, Java, or a mixture of those languages. It allows you to see class relationships (subclass and superclass relationships—including support for multiple inheritance in C++), protocols (or interfaces in Java), and categories. In the diagram view, color and text coding help you to quickly distinguish between classes, categories, and protocols, and between project and framework code. The visibility (public, private, protected) of member functions and variables is shown appropriately. (If you are not familiar with any of these terms, you should consult suitable programming texts.)

提交回复
热议问题