"-[_NSControllerArrayProxy removeObjectsAtIndexes:]: selector not recognized"
"-[_NSControllerArrayProxy removeObjectsAtIndexes:]: selector not recognized"
- Subject: "-[_NSControllerArrayProxy removeObjectsAtIndexes:]: selector not recognized"
- From: email@hidden
- Date: Sun, 17 Dec 2006 12:22:37 +0900
Hi,
I have a trouble with removing a managed object through an array
controller.
When I build and run my Core Data application and send removeObject
message
to the array controller, I get errors like:
-[_NSControllerArrayProxy removeObjectsAtIndexes:]: selector not
recognized [self = 0x...]
This doesn't appear when the following line in the code is removed:
[anArrayController removeObject: aManagedObject];
while anArrayController is a subclass of NSArrayController, and
aManagedObject
is a subclass of NSManagedObject. removeObject is not overridden in the
anArrayController.
As _NSControllerArrayProxy is not a class instantiated within the
code, I have
no idea how to fix this problem. I even don't know who instantiates
_NSControllerArrayProxy, what methods it has, and how can I observe
inside it.
What can I do to make _NSControllerArrayProxy recognize
removeObjectsAtIndexes
selector, which is supposed to have guessing from the error message?
Thank you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden