FROM : Keary Suska
DATE : Sat May 10 20:46:45 2008
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"
DATE : Sat May 10 20:46:45 2008
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"
| Related mails | Author | Date |
|---|---|---|
| Keary Suska | May 10, 20:46 | |
| I. Savant | May 10, 20:54 | |
| Dave Fernandes | May 10, 21:03 | |
| Chris Hanson | May 11, 03:54 | |
| Dave Fernandes | May 11, 07:40 | |
| I. Savant | May 11, 15:04 | |
| Hamish Allan | May 11, 16:36 | |
| Keary Suska | May 11, 17:33 |






Cocoa mail archive

