• 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
Re: Core Data Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Core Data Problem (From: Sean Willson <email@hidden>)
 >Re: Core Data Problem (From: Matthew Firlik <email@hidden>)

  • Prev by Date: Debugging problems - crash in _DPSNextEvent / [NSApplication nextEventMatchingMask..
  • Next by Date: Re: Objective-C++, class scope constants, name conflicts
  • Previous by thread: Re: Core Data Problem
  • Next by thread: .pch not working in XCode 2.2?
  • Index(es):
    • Date
    • Thread