On Aug 14, 2008, at 9:47 PM, Caleb Strockbine wrote:
Why not use -setKeys:triggerChangeNotificationsForDependentKey:? Make the key for your data dependent on the key for the preference, so that anyone who's watching the data will get a notification when the preference changes. This way, you don't worry about manually updating the view -- it'll happen automatically.


Unfortunately that doesn't work because the preference is in a different object, not the one holding the data.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to