Skip navigation.
 
mlRe: Storm in a water glass? (Was: Table View Blues (summary))
FROM : Jonathan Hendry
DATE : Thu Nov 21 22:31:06 2002

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_removed>> 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_removed>
> 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlStorm in a water glass? (Was: Table View Blues (summary)) rixstep000 Nov 21, 21:28
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 21, 21:42
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 21, 21:45
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Rixster @ Rixstep Nov 21, 22:00
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 21, 22:10
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Rixster @ Rixstep Nov 21, 22:22
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Marco Scheurer Nov 21, 22:27
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Jonathan Hendry Nov 21, 22:31
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Scott Anguish Nov 22, 02:55
mlRe: Storm in a water glass? (Was: Table View Blues (summary)) Nat! Nov 23, 00:19