Re: Storm in a water glass? (Was: Table View Blues (summary))
Re: Storm in a water glass? (Was: Table View Blues (summary))
- Subject: Re: Storm in a water glass? (Was: Table View Blues (summary))
- From: Jonathan Hendry <email@hidden>
- Date: Thu, 21 Nov 2002 16:31:06 -0500
On Thursday, Nov 21, 2002, at 16:00 America/New_York, Rixster @ Rixstep
wrote:
PS. Incidentally, you ask to provide code. I did. The code used is
RaiseMan. It's online at Aaron's site. The only addition was already
posted.
RaiseMan is a toy app, written to be used with only a few rows in order
to demonstrate some basic Cocoa programming. The
algorithms used weren't designed for use with thousands of rows.
If you know what rows the user wants to remove, then remove those
specific indexes. Or use removeObjectsInRange:, which ought to be
faster. Or removeAllObjects if that's the intent. Don't use
removeObjectsInArray, for the reason Scott mentioned.
--- Scott Anguish <email@hidden> wrote:
[employees removeObjectsInArray:peopleToRemove];
Try instead -removeAllObjects...
Perhaps it would be best, instead of assuring us that the code is
straight out of Aaron's book, to provide the code you used.
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.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.
_______________________________________________
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.