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 14:29:33 -0800
On Dec 26, 2005, at 1:59 PM, email@hidden wrote:
From mmalc's initial response, it appeared that saving the context
every time an edit occurred would be less complicated than what I
was originally doing, but now I'm starting to wonder? In any event,
I'd be interested in knowing what you all think about the merits of
my initial approach just for the sake of improving my style if
that's what this all boils down to at this point.
Per Jim's reply, listening for
NSManagedObjectContextObjectsDidChangeNotification is an appropriate
way to detect edits and would give you an opportunity to save the
context in a clean way...
And BTW Jim, great point about questioning why I'm fighting the
document architecture style so much in the first place. I'm
definitely mulling over that thought because it really is starting
to seem like this might be a little too out of the way for a doc
based app (and I bet mmalc would agree, per his initial comment).
Indeed, and Jim pointed at a better avenue that wouldn't fight the
architecture.
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