Re: Making a bound view re-read its value
Re: Making a bound view re-read its value
- Subject: Re: Making a bound view re-read its value
- From: Markus Spoettl <email@hidden>
- Date: Fri, 15 Aug 2008 09:39:09 -0700
On Aug 14, 2008, at 11:37 PM, Quincey Morris wrote:
Can you not trigger the update by making the object property
(temperature) KVO-dependent on the preference setting? I don't mean
the object property's value, just the property itself. Either use
keyPathForValuesAffectingTemperature (or whatever) in the class that
has the property, if it can get to the preference setting via
keypaths, or else call will/didChangeValueForKey:@"temperature" (or
whatever) from some controller that monitors the preferences.
That's certainly a possibility but I didn't want to do that because it
would bring a lot of view into the model. I guess I don't have much
choice, either this or manual updating when the preference changes.
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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