0

I am using TTStyledTextLabel from Three20 framework. I simply use it for text markup, like bold text. Now I should migrate from Three20.

What is the simplest way to implement TTStyledTextLabel functionality? May be there is TTStyledTextLabel equivalent?

Freelander
  • 129
  • 1
  • 2
  • 6

2 Answers2

1

Take a look at TTTAttributedLabel. It works like UILabel in iOS 6 but supports iOS 5 (maybe even iOS 4).

aburgel
  • 83
  • 7
  • I tried to start TTTAttributedLabel example on Xcode 4.4.1, but had a compilation error (Use of undeclared identifier 'NSMutableParagraphStyle'). Seems NSMutableParagraphStyle is available from IOS 6 only. Are you sure it is compatible with IOS 5? – Freelander Apr 17 '13 at 09:09
  • Mattt reply:Update your version of Xcode, and everything should work just fine. Either that, or use an older version of TTTAttributedLabel. – Freelander Apr 17 '13 at 09:46
0

Have a look at the standard UILabel. It supports NSAttributedString starting from iOS 6.

Engin Kurutepe
  • 6,719
  • 3
  • 34
  • 64