Re: why do this not work??
Re: why do this not work??
- Subject: Re: why do this not work??
- From: lbland <email@hidden>
- Date: Wed, 17 Dec 2003 18:12:07 -0500
On Wednesday, December 17, 2003, at 05:42 PM, Sascha Kuehn wrote:
NSMutableArray *newList;
hi-
Well, for one thing it will be slow as molasses because you don't take
invariants out of your loop. And there is a special method for
comparing strings which is faster.
But, one of the real problems is that you have not assigned newList.
assign like this:
newList = [[NSMutableArray alloc] initWithCapacity:64U];
of course, the real problem is that no one can tell you why it doesn't
work, because no one (as in me) can figure out what you are trying to
accomplish!
and why create newList when you don't do anything with it after the
method exits?
In addition, it is not a script, it is a method.
-lance
Lance Bland
mailto:email@hidden
VVI
888-VVI-PLOT
http://www.vvi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.