Quantcast
Channel: Controls – TAGTECINFO
Viewing all articles
Browse latest Browse all 336

[iOS App Dev Libraries, Controls, Tutorials, Examples and Tools]Swift Library For Converting Markdown To NSAttributedString For Easy Rich Text

$
0
0

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”)
md.attributedString()

Swifty Markdown

You can find SwiftyMarkdown on Github here.

A nice library for quickly creating rich text.

Original article: Swift Library For Converting Markdown To NSAttributedString For Easy Rich Text

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

Reference source: iOS App Dev Libraries, Controls, Tutorials, Examples and Tools


Viewing all articles
Browse latest Browse all 336

Trending Articles