Re: what is [textStorage paragraphs]???
Re: what is [textStorage paragraphs]???
- Subject: Re: what is [textStorage paragraphs]???
- From: Douglas Davidson <email@hidden>
- Date: Tue, 24 Jan 2006 09:00:39 -0800
On Jan 23, 2006, at 10:40 PM, Nik Youdale wrote:
Is -paragraphs really an inefficient method? What I need in my app
is an NSArray of strings representing each paragraph. Is it more
efficient to use -paragraphs, or to get the range of each
paragraph, and then a -subStringFromRange??
I have not measured, but I would expect that -paragraphs would be
less efficient, because it creates an attributed string for each
paragraph rather than a plain string; you would be throwing away the
attributed strings after getting their strings.
Douglas Davidson
_______________________________________________
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