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: Fred Kiefer
Subject: [bug #41325] KVO: +[NSObject keyPathsForValuesAffecting<Key>] not supported
Date: Sun, 26 Jan 2014 13:30:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Update of bug #41325 (project gnustep):

                  Status:                    None => In Progress            

    _______________________________________________________

Follow-up Comment #1:

I just implemented the method keyPathsForValuesAffectingValueForKey, but the
result may not be as expected.

The current implementation of KVO in GNustep does not call this method when a
key gets observed to determine which which key paths affect which others. I
think fixing this would require an almost complete rewrite of the KVO
implementation.

What we could do to get a similar result would be to add calls to the
keyPathsForValuesAffectingXXX: methods when a new observer gets added and fix
the values in dependentKeyTable to reflect those connections.

    _______________________________________________________

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]