如何从Objective-C代码自动生成UML图? [英] How can I automatically generate UML diagrams from Objective-C code?

查看:109
本文介绍了如何从Objective-C代码自动生成UML图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从目标C中的代码自动创建UML图?

Is there a way to create automatically the UML diagram from the code, in objective-C ?

干杯,
Niels

Cheers, Niels

推荐答案

看看 Doxygen的。这似乎支持Objective-C。它可能不会给你一个UML图,但是它能够在图表中显示引用等,并且添加了注释,你可以为格式化输出提供更多信息。

Have a look at Doxygen. Which seem to have support for Objective-C. It might not give you an UML diagram but it is able to show references etc in graphs and with added comments you can give more information for the formatted output.

见这里Objective-C中的一个例子, clang项目(oups,clang实际上是用C ++编写的并且在Objective-C代码上工作)但是我发现了这个博客文章

See here for an example in Objective-C, the clang project (oups, clang is actually written in C++ and works on Objective-C code) But I found this blog post about using doxygen for Objective-C code

这篇关于如何从Objective-C代码自动生成UML图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆