bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #41325] KVO: +[NSObject keyPathsForValuesAffecting<Key>] not suppor


From: Frederik
Subject: [bug #41325] KVO: +[NSObject keyPathsForValuesAffecting<Key>] not supported
Date: Sun, 26 Jan 2014 13:46:25 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

Follow-up Comment #2, bug #41325 (project gnustep):

Thanks for the quick fix. Your suggestion about calling
-keyPathsForValuesAffectingXXX: when registering an observer sounds like a
good solution to me, as the result from these methods is unlikely to change
and Apple doesn’t document at which times/intervals they are called either.

One thing I noticed in your change - I think 'dependentKey' should be
capitalized here (i.e. [dependentKey capitalizedString]):

> NSString *selString = [NSString stringWithFormat:
@"keyPathsForValuesAffecting%@",
                                                   dependentKey];



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41325>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]