Xcode extension and macOS app that generates PlantUML class diagrams from Swift code directly within Xcode or Finder.
SwiftPlantUML is an Xcode extension and macOS application that generates PlantUML class diagrams from Swift source code. It allows developers to visualize class structures, relationships, and dependencies directly within Xcode or from Finder, helping with code understanding and documentation. The tool supports both individual files and selected code snippets, with configurable diagram output.
Swift developers working in Xcode who need to visualize code architecture, particularly those maintaining or documenting medium to large codebases where understanding class relationships is crucial.
Developers choose SwiftPlantUML because it integrates directly into their existing Xcode and Finder workflows, eliminating the need for external diagramming tools. It provides accurate, up-to-date visualizations directly from source code with configurable output options.
Xcode Extension for generating class diagrams from Swift code (powered by PlantUML)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates diagrams directly from Swift files or selected code snippets within Xcode, as shown in the usage GIF, eliminating context switching.
Allows creating diagrams from selected Swift files in Finder with a simple right-click action, streamlining workflows outside Xcode.
The macOS app provides extensive preferences for customizing diagram elements, members, and display options, enabling tailored outputs.
For large projects, the underlying SwiftPlantUML package can be used as a command-line tool, handling files across multiple folders efficiently.
Enabling extensions requires manual steps in System Preferences, and troubleshooting often involves fixing Xcode paths, as detailed in the README.
Extension initialization can take up to 30 seconds on first launch, with common crashes related to sourcekitd requiring user intervention, per troubleshooting notes.
Only generates class diagrams, not supporting other UML types like sequence or activity diagrams, which limits comprehensive architectural visualization.