• 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: How to Observe "dirty" State?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: How to Observe "dirty" State?


  • Subject: Re: Core Data: How to Observe "dirty" State?
  • From: Dave Fernandes <email@hidden>
  • Date: Sun, 11 May 2008 01:40:50 -0400

Actually, the docs say that you can't do this.

On May 10, 2008, at 9:54 PM, Chris Hanson wrote:

On May 10, 2008, at 12:03 PM, Dave Fernandes wrote:

You can also register for the NSManagedObjectContextObjectsDidChangeNotification to get a notification when anything in the MOC changes. Presumable you can then check [moc hasChanges], but I've never used that method.

I would also expect that you can observe your NSManagedObjectContext's "hasChanges" property using KVO.


  -- Chris


_______________________________________________

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: 
 >Core Data: How to Observe "dirty" State? (From: Keary Suska <email@hidden>)
 >Re: Core Data: How to Observe "dirty" State? (From: Dave Fernandes <email@hidden>)
 >Re: Core Data: How to Observe "dirty" State? (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Cocoa coding style (was Re: Did I reinvent the wheel?)
  • Next by Date: Re: UI tool kit gone in IB 3?
  • Previous by thread: Re: Core Data: How to Observe "dirty" State?
  • Next by thread: Re: Core Data: How to Observe "dirty" State?
  • Index(es):
    • Date
    • Thread