FROM : Scott Anguish
DATE : Thu Nov 21 21:45:12 2002
> [employees removeObjectsInArray:peopleToRemove];
>
Incidently.. this is hardly an efficient manner to delete all the
items in an array. Each item has to be searched for in the array, then
removed, and this will iterate over all the peopleToRemove...
Try instead -removeAllObjects...
_______________________________________________
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.
DATE : Thu Nov 21 21:45:12 2002
> [employees removeObjectsInArray:peopleToRemove];
>
Incidently.. this is hardly an efficient manner to delete all the
items in an array. Each item has to be searched for in the array, then
removed, and this will iterate over all the peopleToRemove...
Try instead -removeAllObjects...
_______________________________________________
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 mails | Author | Date |
|---|---|---|
| rixstep000 | Nov 21, 21:28 | |
| Scott Anguish | Nov 21, 21:42 | |
| Scott Anguish | Nov 21, 21:45 | |
| Rixster @ Rixstep | Nov 21, 22:00 | |
| Scott Anguish | Nov 21, 22:10 | |
| Rixster @ Rixstep | Nov 21, 22:22 | |
| Marco Scheurer | Nov 21, 22:27 | |
| Jonathan Hendry | Nov 21, 22:31 | |
| Scott Anguish | Nov 22, 02:55 | |
| Nat! | Nov 23, 00:19 |






Cocoa mail archive

