Re: Core Data and Document Packages
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