[![CI Status](http://img.shields.io/travis/Jack Colley/NSHyperLabelSwift.svg?style=flat)](https://travis-ci.org/Jack Colley/NSHyperLabelSwift)
NSHyperLabel is a small utility that enables you to add hyperlinks to a UILabel. You can also specify as many or as little attributes for the links.
A Netsells Project
testLabel.text = "Netsells is a leading digital agency"
testLabel.setLinkForSubstring("Netsells", attributes: testLabel.linkAttributeDefault, url: URL(string: "http://netsells.co.uk")!)
iOS 8.0 or greater
NSHyperLabelSwift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "NSHyperLabelSwift"
- Unit Tests
- Thorough Documentation
- Better syntax for default attributes
Jack Colley, jack.colley@netsells.co.uk
NSHyperLabelSwift is available under the MIT license. See the LICENSE file for more info.