Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: how to prevent document being dirtied when chaging attributes?



On 17.01.2008, at 16:35, Sean McBride wrote:

Hi all,

In a Core Data app, how should one model a property of an object that a)
should be saved as part of the document b) should not participate in
undo c) should not dirty the document when changed and d) can be easily
bound to?

disabling undo-registration (as described in "Undo Management" <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingMOs.html#//apple_ref/doc/uid/TP40001803-207821-TPXREF148 >) should do the trick. I see no reason
why disabling undo-registration should break bindings in any way.


Cheers,

felix


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Core Data: how to prevent document being dirtied when chaging attributes? (From: "Sean McBride" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.