Re: Fastest way to build an attributed string
Re: Fastest way to build an attributed string
- Subject: Re: Fastest way to build an attributed string
- From: "Martin" <email@hidden>
- Date: Fri, 14 Jan 2005 17:48:33 -0800
You want to wrap your entire building phase with begin/end editing calls. Eg:
[textStorage beginEditing];
// lots of appendString: and setAttributes:inRange: calls
[textStorage endEditing];
This will delay attribute fixing for the whole storage until you are done making all your changes.
~Martin
>On Jan 14, 2005, at 5:26 AM, Fabian Lidman wrote:
>
>> Hello,
>> Q: What is the fastest way to create an attributed string from a
>> sequence of string/dictionary pairs?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden