On Wed, Feb 25, 2009 at 2:43 PM, Daniel Child <wch...@hawaii.edu> wrote: > The object I'm adding was obtained by using > NSManagedObject *theWord = [wordList selection] > This yields a proxy object instead of an MO. (Does anyone know why?)
Read the documentation for -[NSObjectController selection]. It's right there in black and white: "A proxy object representing the receiver’s selection. This object is fully key-value coding compliant, but note that it is a proxy and so does not provide the full range of functionality that might be available in the source object." > -[NSManagedObject copyWithZone:]: unrecognized selector sent to instance > 0x1adf50 Typically this happens when you've bound a view to the selectedObjects of a controller and not provided a keypath. Often times views copy their object values, but NSManagedObjectContext does not support NSCopying. Make sure that all your bindings are to keypaths, not just to the objects themselves. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com