mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Add removeObserver:forKeyPath:context: to implementation
This commit is contained in:
parent
dbebf7625d
commit
2c81d3e003
2 changed files with 10 additions and 0 deletions
|
@ -138,6 +138,10 @@ GS_EXPORT NSString *const NSKeyValueChangeNotificationIsPriorKey;
|
|||
- (void) removeObserver: (NSObject*)anObserver
|
||||
forKeyPath: (NSString*)aPath;
|
||||
|
||||
- (void) removeObserver: (NSObject*)anObserver
|
||||
forKeyPath: (NSString*)aPath
|
||||
context: (void*)context;
|
||||
|
||||
@end
|
||||
|
||||
@interface NSArray (NSKeyValueObserverRegistration)
|
||||
|
|
|
@ -1561,6 +1561,12 @@ cifframe_callback(ffi_cif *cif, void *retp, void **args, void *user)
|
|||
[forwarder finalize];
|
||||
}
|
||||
|
||||
|
||||
- (void) removeObserver: (NSObject*)anObserver forKeyPath: (NSString*)aPath context: (void*)context
|
||||
{
|
||||
[self removeObserver: anObserver forKeyPath: aPath];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue