TextAttributes is an open source Swift based library for easily creating attributed strings.
With TextAttributes you can use chainable helper methods to directly set all text and paragraph properties.
This example from the readme shows the basic syntax for applying properties to an attributed string with NSAttributedString:
.font(name: "HelveticaNeue", size: 16)
.foregroundColor(white: 0.2, alpha: 1)
NSAttributedString("The quick brown fox jumps over the lazy dog", attributes: attrs)
You can find TextAttributes on Github here.
A great library for creating attributed strings.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.