• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: equivalent of "self" for willChangeValueForKey:/didChangeValueForKey:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >equivalent of "self" for willChangeValueForKey:/didChangeValueForKey: (From: Andrei Tchijov <email@hidden>)
 >Re: equivalent of "self" for willChangeValueForKey:/didChangeValueForKey: (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: Is this program open?
  • Next by Date: Re: Is this program open?
  • Previous by thread: Re: equivalent of "self" for willChangeValueForKey:/didChangeValueForKey:
  • Next by thread: NSDictionary error
  • Index(es):
    • Date
    • Thread