Tool: A Command Line Documentation Generator For Swift

Last week I mentioned a nice library for working with JSON in Swift as using the JSON parsing API’s in the iOS SDK can become tedious.

Documentation generation in Swift is another issue to be tackled, and at this point the popular Appledoc tool does not yet support Swift (support is coming in 3.0).

Here’s a command line tool for Swift users (also works with Objective-C) that you can use to quickly generate docs called Jazzy from Realm that aims to match the style of Apple’s documentation post WWDC 2014.

Keep in mind that at this point Jazzy only works with simple projects so if you try running it on an extensive project there could be issues. If you’re looking to document an extensive Objective-C project you should use Appledoc.

You can install Jazzy with:

sudo gem install jazzy

You can find the Jazzy project on Github here.

A nice easy way to generate documentation – you will need Xcode 6 beta to install the gem.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Tool: A Command Line Documentation Generator For Swift

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *