• 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: Rick Mann <email@hidden>
  • Date: Wed, 14 Oct 2009 12:33:06 -0700

I did exactly that for readFromURL. It comes back with no errors. The dialog is not displayed until after that method returns.

I'll try the configure call.

On Oct 14, 2009, at 12:31:28, Ben Trumbull wrote:


On Oct 14, 2009, at 12:21 PM, Rick Mann wrote:

In the simplest case, I don't create any entities. I don't override any of NSPersistentDocument's persistence-related methods. I just save the new untitled document, then try to re-open it.

You can override the methods declared in NSPersistentDocument.h particularly configurePersistentStoreCoordinatorForURL and readFromURL, and just call super. But look at the BOOL result and if NO, the NSError.


You can also grab the error in the debugger as others have suggested.

- 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


References: 
 >re: Default Core Data errors (From: Ben Trumbull <email@hidden>)
 >Re: Default Core Data errors (From: Rick Mann <email@hidden>)
 >Re: Default Core Data errors (From: Ben Trumbull <email@hidden>)

  • Prev by Date: Re: Default Core Data errors
  • Next by Date: Intercept tap on URL in UITextView
  • Previous by thread: Re: Default Core Data errors
  • Next by thread: Background image of CustomTableView Cells
  • Index(es):
    • Date
    • Thread