Re: customizing save behavior in doc based apps
Re: customizing save behavior in doc based apps
- Subject: Re: customizing save behavior in doc based apps
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 26 Dec 2005 00:19:08 -0800
On Dec 25, 2005, at 9:47 PM, Matthew Russell wrote:
I've done a lot of reading and experimenting on this but just can't
get it right. The closest I can seem to come is by doing the
following things in my NSPersistentDocument subclass:
You seem to be making this very complicated, an in particular you're
subverting the normal behaviour which is to show the dirty marker if
there are unsaved changes in the document's managed object context.
Try starting by just: for existing documents saving the context after
every edit (see the NSPersistentDocument tutorial for discriminating
between a new and existing document)...
mmalc
_______________________________________________
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