TextSTyle is an open source swift library from Yalantis that provides a declarative syntax for defining typefaces with some nice extras.
With TextStyle you can quickly define all the fonts to use for a specific font family like this:
light: "Helvetica-Light",
lightItalic: "Helvetica-LightOblique",
regular: "Helvetica",
italic: "Helvetica-Oblique",
bold: "Helvetica-Bold",
boldItalic: «Helvetica-BoldOblique")
And also quickly access the different styles like in this example showing how one could utilize the defined bold font:
You can also change the thickness, and color attributes and more.
You can read more about TextStyle on the Yalantis blog.
You can find TextStyle on Github here.
A great library for defining text styles.
Original article: TextStyle – A Swift Library Allowing You To Easily Manage Text Styles
©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Even if the forthcoming Trump administration doesn't take climate change seriously, the European Union plans to slash its energy usage by nearly a third by the year 2030. By the terms of the Paris Climate Agreement, the EU already planned to cut carb…
Pebble might only live on in our memories and Fitbit's devices in the future. According to The Information, Fitbit is buying smartwatch maker Pebble for an undisclosed amount. An anonymous source indicates to Engadget that Fitbit is buying the indie…
The pairing of Spotify and Starz in a single app seems odd, but it's happening anyway. Subscribers to the premium channel who use its mobile app (via a direct subscription or participating cable provider — sorry Comcast customers) will notice links…
Altice USA may not be the most recognized ISP name out there, but the country's fourth-largest provider is about to get a big upgrade over the next five years or so. According to the company's roadmap, Altice plans to bring high-speed, 10 Gbps fiber…
Apple has made a tradition of marking World AIDS Day with a campaign to donate to the Product (RED) charity, and it's going the extra mile for its 10th year of support. On top of the company's existing (RED) gear (which sends a contribution to the G…
Cassini is officially, irrevocably in its final year of existence. The NASA spacecraft has been capturing lovely images and collecting samples of Saturn and its orbiting objects since 2004, but today Cassini enters the final phase of its mission. Bet…
Microsoft really wants to make a big deal out of competitive Halo 5 gaming, and it's taking an unusual route to get there. The company's 343 Industries and Electronic Sports League have reached a deal with Pilgrim Media Group to create an eSports-foc…
The ability to finally download Netflix videos came as a surprise this morning. After all, it's the same company that just a few years ago said that offline support was "never going to happen." But recently, Netflix's tone started changing. Back in A…
We love almost everything about Nintendo's adorable NES Classic Edition, but there's still one major downside. There's no way around it: Those short controller cables are a major buzzkill. Unsurprisingly, third-party companies are stepping up to solv…