Reputation: 126327
Is it possible to specify a range when using -[NSAttributedString initWithString:attributes:]
?
I know I can do it with NSMutableAttributedString
, but I wanted to be more efficient by using NSAttributedString
.
Upvotes: 0
Views: 401
Reputation: 8329
No.
Oh, 27 more characters: remember to profile before worrying about efficiency.
Upvotes: 2