Featured iPhone Development Resources iOS Development Libraries Open Source iOS Libraries And Tools Swift

Swift Library For Converting Markdown To NSAttributedString For Easy Rich Text

SwiftyMarkdown is a Swift library from Simon Fairbairn allows you to easily create formatted text by converting markdown to NSAttributedString.

You can use SwiftyMarkdown to convert Markdown files and strings and there is also support for different fonts and colors.

Usage is simple, and the following example shows how to convert a markdown string to an NSAttributedString:

let md = SwiftyMarkdown(string: “# Heading\nMy Markdown string”)

Swifty Markdown

You can find SwiftyMarkdown on Github here.

A nice library for quickly creating rich text.