Re: Core Data Problem
Re: Core Data Problem
- Subject: Re: Core Data Problem
- From: Sean Willson <email@hidden>
- Date: Sat, 11 Feb 2006 08:44:22 -0600
oddly enough all of my NSObjectControllers are bound. i checked all of my
nibs and all of them specify a class to be used. i also confirmed that my
subclasses of NSObjectController properly call the setObjectClass method in
the init method. any other ideas on how to track this down?
i WAS able to get my document based application to save though thanks to
this code:
http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/06_CustomisingErrors/chapter_7_section_3.html
after putting that - (NSError *)willPresentError:(NSError *)inError; method
in my code and saving i found the error in my MOM. for some reason one of my
relationships was set to always have a min of 1 in the to-many relationship.
after removing that limitation everything was great.
i do still need to figure out why i'm getting these errors but at least i
can save now. i appreciate your help so far. hope the above link is helpful
to others. thanks to apple for the great examples.
sean
http://www.wideasleep.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden