• 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 and Document Packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and Document Packages


  • Subject: Re: Core Data and Document Packages
  • From: Seth Willits <email@hidden>
  • Date: Tue, 3 Jul 2007 22:31:42 -0700

On Jul 3, 2007, at 1:42 PM, Seth Willits wrote:

As it turns out, overriding readFromURL:/writeToURL: and configurePersistentStoreCoordinatorForURL: is working dandily so far...

... until you try to save the second time. :)

I continued to fiddle with readFromURL/writeToURL and tried to get it to work (I added the store myself from configurePersistentStoreCoordinatorForURL), but no matter what I did, I always end up with crash when doing a second save caused by super's implementation of writeToURL: returning NO but not setting the outError causing a crash when it tries to display the error. Nothing in the log, and NSZombie didn't catch anything either. Wonderful!

So I'm back at square 1 basically.

I'm currently fiddling with an NSDocument subclass, but I'm sure I'll hit a wall eventually...


-- Seth Willits



_______________________________________________

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: 
 >Core Data and Document Packages (From: Seth Willits <email@hidden>)
 >Re: Core Data and Document Packages (From: mmalc Crawford <email@hidden>)
 >Re: Core Data and Document Packages (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Git (and a rant on subversion)
  • Next by Date: Re: Memory Management Question
  • Previous by thread: Re: Core Data and Document Packages
  • Next by thread: Re: Core Data and Document Packages
  • Index(es):
    • Date
    • Thread