Create class diagram from already existent iphone code

后端 未结 2 1038
南旧
南旧 2021-01-31 20:41

does anybody know, how i could create automatically a UML class diagram from an already existent iphone project. Is it possible?

Thanks in advance.

相关标签:
2条回答
  • 2021-01-31 21:20

    Yes, you can use Doxygen:

    1. Install Doxygen (with MacPorts: sudo port install doxygen).

    2. Get a script like this and change the first lines to match your configuration.

    3. Download these files and edit the Doxygen file so it says HAVE_DOT=YES and UML_LOOK=YES.

    It will then generate and install a docset that you can read from the documentation browser, or just right click and show contents from Finder.


    Or, if you want a graph of dependencies check: https://github.com/nst/objc_dep It uses graphviz.

    0 讨论(0)
  • 2021-01-31 21:22

    See also OmniGraffle of all things. If you open an Xcode project with it, it will generate a full class diagram. It can be fairly overwhelming for a large project.

    0 讨论(0)
提交回复
热议问题