mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Add removeObserver:fromObjectsAtIndexes:forKeyPath:context: method
This commit is contained in:
parent
24653e63c3
commit
edc15778d2
2 changed files with 19 additions and 0 deletions
|
@ -142,6 +142,11 @@ GS_EXPORT NSString *const NSKeyValueChangeNotificationIsPriorKey;
|
|||
- (void) removeObserver: (NSObject*)anObserver
|
||||
forKeyPath: (NSString*)aPath
|
||||
context: (void *)context;
|
||||
|
||||
- (void) removeObserver: (NSObject*)anObserver
|
||||
fromObjectsAtIndexes: (NSIndexSet *)indexes
|
||||
forKeyPath: (NSString*)aPath
|
||||
context: (void *)context;
|
||||
#endif
|
||||
@end
|
||||
|
||||
|
|
|
@ -1325,6 +1325,13 @@ cifframe_callback(ffi_cif *cif, void *retp, void **args, void *user)
|
|||
[iLock unlock];
|
||||
}
|
||||
|
||||
- (void) removeObserver: (NSObject*)anObserver
|
||||
fromObjectsAtIndexes: (NSIndexSet *)indexes
|
||||
forKeyPath: (NSString*)aPath
|
||||
context: (void *)context
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSKeyValueObservationForwarder
|
||||
|
@ -1624,6 +1631,13 @@ cifframe_callback(ffi_cif *cif, void *retp, void **args, void *user)
|
|||
[kvoLock unlock];
|
||||
}
|
||||
|
||||
- (void) removeObserver: (NSObject*)anObserver
|
||||
fromObjectsAtIndexes: (NSIndexSet *)indexes
|
||||
forKeyPath: (NSString*)aPath
|
||||
context: (void *)context
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue