0

Let there be an object A that observers a property on object B. Is there a way to ask A what properties it is observing and then see that it is observing a property on object B.

For for example:

[B addObserver:(A*)self forKeyPath:@"bytesUploaded"
                           options:NSKeyValueObservingOptionNew
                                        context:A_KVOContext];

Now is there a way to ask A what object's its observing?

Andrew Paul Simmons
  • 4,334
  • 3
  • 31
  • 39

0 Answers0