On Feb 22, 2010, at 3:59 PM, Ken Tabb wrote:

> Hi folks,
> 
> I'm clearly doing something daft but unable to see the error of my ways.
> 
> Distilling my problem down into the Department & Employees example, both are 
> custom NSManagedObject subclasses, each with an inverse to-many / to-one 
> relationship as you'd expect. My problem is that Department's custom 
> -awakeFromInsert gets called, yet its -addEmployeesObject and -addEmployees 
> methods don't ever get called. If I add employees in the app, it all works 
> swimmingly, but my custom accessors aren't ever used.

Do you implement both the add<key> *and* remove<key>? The framework might 
require both to assume compliance.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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

Reply via email to