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.
Try Omnigraffle This has templates for UML diagrams.
If you drop an Xcode4 project file onto its dock icon, it will generate a UML diagram from that.
What it doesn't do is generate code from diagrams.
2.1m questions
2.1m answers
60 comments
57.0k users