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

Core Data: How to Observe "dirty" State?


  • Subject: Core Data: How to Observe "dirty" State?
  • From: Keary Suska <email@hidden>
  • Date: Sat, 10 May 2008 12:46:45 -0600
  • Thread-topic: Core Data: How to Observe "dirty" State?

Does anyone know how to "watch" for the dirty state of an
NSManagedObjectContext (if that's where it is applicable)? I imagine the
same way that NSPersistentDocument can do it, if that is feasible.

I know I can observe all of the properties in a managed object and set a
flag when a change occurs (and also check NSUndoManager so I know when I get
to a properly "clean" state), but I was hoping there was a cleaner and more
robust way.

TIA,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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

  • Follow-Ups:
    • Re: Core Data: How to Observe "dirty" State?
      • From: Dave Fernandes <email@hidden>
    • Re: Core Data: How to Observe "dirty" State?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Cocoa coding style (was Re: Did I reinvent the wheel?)
  • Next by Date: iChat theater
  • Previous by thread: Re: Anyone used btlsocket framework?
  • Next by thread: Re: Core Data: How to Observe "dirty" State?
  • Index(es):
    • Date
    • Thread