• 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: customizing save behavior in doc based apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >customizing save behavior in doc based apps (From: Matthew Russell <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: mmalcolm crawford <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: email@hidden)
 >Re: customizing save behavior in doc based apps (From: Jim Correia <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: Uli Kusterer <email@hidden>)
 >Re: customizing save behavior in doc based apps (From: email@hidden)

  • Prev by Date: Re: customizing save behavior in doc based apps
  • Next by Date: Re: customizing save behavior in doc based apps
  • Previous by thread: Re: customizing save behavior in doc based apps
  • Next by thread: Re: customizing save behavior in doc based apps
  • Index(es):
    • Date
    • Thread