NSArrayController removeObjects
NSArrayController removeObjects
- Subject: NSArrayController removeObjects
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 17 Sep 2004 13:57:11 +0200
If allThings is the array being controlled by the NSArrayController
controllerForAllThings then this will produce a crash:
[ controllerForAllThings removeObjects: allThings ];
Whereas this does work:
[ controllerForAllThings removeObjects: [ NSArray arrayWithArray:
allThings ] ];
Should this be documented?
Gerriet.
_______________________________________________
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