ma11hew28
ma11hew28

Reputation: 126327

NSAttributedString specify range?

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

Answers (1)

David Dunham
David Dunham

Reputation: 8329

No.

Oh, 27 more characters: remember to profile before worrying about efficiency.

Upvotes: 2

Related Questions