• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"-[_NSControllerArrayProxy removeObjectsAtIndexes:]: selector not recognized"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"-[_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


  • Prev by Date: Cocoaheads January meeting?
  • Next by Date: [Job Posting] Team Banzai
  • Previous by thread: Re: Cocoaheads January meeting?
  • Next by thread: [Job Posting] Team Banzai
  • Index(es):
    • Date
    • Thread