Re: equivalent of "self" for willChangeValueForKey:/didChangeValueForKey:
Re: equivalent of "self" for willChangeValueForKey:/didChangeValueForKey:
- Subject: Re: equivalent of "self" for willChangeValueForKey:/didChangeValueForKey:
- From: Andrei Tchijov <email@hidden>
- Date: Thu, 13 Apr 2006 14:09:46 -0400
Wow, excelent. Works like a champ.
Clark, thanks a lot for pointer.
On Apr 13, 2006, at 1:58 PM, Clark Cox wrote:
You could make the keys dependent on each other.
See the documentation for +(void)setKeys:(NSArray *)keys
triggerChangeNotificationsForDependentKey:(NSString *)dependentKey;
Then it should all take care of it by itself.
On 4/13/06, Andrei Tchijov <email@hidden> wrote:
Hi,
I have a situation when changing one radio button enable-
disable
bunch of other controls. The radio button in question and all
controls (and enable/disable conditions for controls) are all using
binding. To make all controls assume "proper" enable-disable state
when the radio button was changed I am using bunch of
willChangeValueForKey: / didChangeValueForKey: in the setter and all
works well.
Question is: Is it possible "whole-sale" willChange.../
didChange...? Ideally, something like willChangeValueForKey: @"self"
will be perfect (pity it does not work :-( )
Thank you very much,
Andrei
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
--
Clark S. Cox III
email@hidden
My CV/Resume:
http://homepage.mac.com/clarkcox3/files/Resume.pdf
http://homepage.mac.com/clarkcox3/files/Resume.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden