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

re: Default Core Data errors


  • Subject: re: Default Core Data errors
  • From: Ben Trumbull <email@hidden>
  • Date: Wed, 14 Oct 2009 12:11:29 -0700

Do you check, and at least assert, if any API that has an NSError** parameter returns one ? (typically a return value of NO or nil). For Core Data, you'll always want to check adding a store to the coordinator, saving, and fetching. For your documented based app, the NSDocument APIs can also return errors.

When you get an NSError, you'll want to also log its userInfo dictionary.

- Ben

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Default Core Data errors
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: CALayer z-axis scale
  • Next by Date: Re: Default Core Data errors
  • Previous by thread: Re: Default Core Data errors
  • Next by thread: Re: Default Core Data errors
  • Index(es):
    • Date
    • Thread