• 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 design question: receiving KVO notifications of partially mutated objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data design question: receiving KVO notifications of partially mutated objects


  • Subject: Re: Core Data design question: receiving KVO notifications of partially mutated objects
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 3 Nov 2009 18:00:05 -0500
  • Organization: Rogue Research Inc.

On 11/2/09 12:58 PM, Ben Trumbull said:

>This doesn't really have anything to do with Core Data.  However, for
>NSManagedObject, Core Data already provides the change coalescing and
>NSNotifications for you.  You can respond within
>NSManagedObjectContextObjectsDidChangeNotification instead.

So I read the various archive posts about that notification and played
with it a little.  I can see it being handy, especially for added and
removed objects.  The big shortcoming, in my situation anyway, is that
it does not seem to provide me with the keys that changed (in the
NSUpdatedObjectsKey case).  Unless I'm missing something?

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >re: Core Data design question: receiving KVO notifications of partially mutated objects (From: Ben Trumbull <email@hidden>)

  • Prev by Date: Re: Handling calculations with many decimal places
  • Next by Date: Re: UIView animation docs question
  • Previous by thread: Re: Core Data design question: receiving KVO notifications of partially mutated objects
  • Next by thread: Re: Core Data design question: receiving KVO notifications of partially mutated objects
  • Index(es):
    • Date
    • Thread