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: "Adam R. Maxwell" <email@hidden>
- Date: Fri, 15 Aug 2008 10:23:35 -0700
On Friday, August 15, 2008, at 09:57AM, "Markus Spoettl" <email@hidden> wrote:
>On Aug 15, 2008, at 6:40 AM, Negm-Awad Amin wrote:
>> [object willChangeValueForKeyPath:keyPath];
>> [object didChangeValueForKeyPath:keyPath];
>
>
>I tried that yesterday but due to a stupid mistake it didn't work. I
>does now and it's that's a good idea. it would eliminate the need of
>changing things and could be done in a central controller that knows
>which properties are dependent on the preference.
Sending empty willChange/didChange messages is not a good idea:
http://www.cocoabuilder.com/archive/message/cocoa/2008/5/18/207038
--
Adam
_______________________________________________
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