On May 2, 2006, at 4:01 PM, WebObjects wrote:
If I were to remove an element of the NSArray returned by this method, would then calling .saveChanges() on the ec now exclude objects removed from the array? If so is this because of the magic of WO keeping track of things?
EOEditingContext.insertedObjects() returns an immutable NSArray, so you shouldn't try to remove objects from it directly (it may be an NSMutableArray under the covers, but you shouldn't muck with such internal workings directly). Instead, send a deleteObject() message to the editing context.
Aloha, Art _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
