NSKVOSupport: Retrieve the underlying class when adding nested observers

This commit is contained in:
Hugo Melder 2024-12-17 12:54:44 +01:00
parent 943f8d82c3
commit 16dd5c4514
2 changed files with 27 additions and 1 deletions

View file

@ -123,6 +123,7 @@ _NSKVOEnsureKeyWillNotify(id object, NSString *key);
*/
@interface
NSObject (NSKeyValueObservingPrivate)
- (Class)_underlyingClass;
- (void)_notifyObserversOfChangeForKey:(NSString *)key
oldValue:(id)oldValue
newValue:(id)newValue;