How to see what an object is observing in cocoa

I know that there is a way to see what properties are observed on the object using InfoInfo, but is there a way to see which object is set to monitor?

[otherObject addObserver:zombie forKeyPath:@"brains" context:apocalypse] 

The call to [otherObject observInfo] shows that the zombie is watching the key track @ "brains", but I would like to call [zombie observer] or something else and see what it is set as an observer for ....

+3
source share
1 answer

, . KVO (, , ). , , . Apple KVO . KVO isa-swizzling.

+3

All Articles