Swift 3: Twitter - Tweets String Formatting Tips And Tricks with NSAttributedString (Ep 9)

Profile Picture
- Published on Jan 25, 2017馃審 Public

Let's turn our attention to further fleshing out the design for out Tweet cells today. We will accomplish this by introducing our second model object to the project: Tweet. This object will hold information such as User and the tweet message string. To render out the text easily with one UITextView component, I'll demonstrate how to use NSAttributedString to format our strings according to the designs. This is a really efficient way of reducing the amount of components that are inside your cell subviews. Enjoy. iOS Basic Training Course: https://www.letsbuildthatapp.com/basi... Completed Source Code https://www.letsbuildthatapp.com/cour... Follow me on Twitter: https://twitter.com/buildthatapp