-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add removeObserver:fromObjectsAtIndexes:forKeyPath:context: method #330
Conversation
Source/NSKeyValueObserving.m
Outdated
@@ -1325,6 +1325,13 @@ - (void) removeObserver: (NSObject*)anObserver | |||
[iLock unlock]; | |||
} | |||
|
|||
- (void) removeObserver: (NSObject*)anObserver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have this method here? We don't define the method without context neither and we also don't have the corresponding add methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't belong there... I discovered the method should only exist where I have it implemented now, as a category on NSArray.
@fredkiefer @rfm The tests are passing now. One of the url tests seems to fail intermittently. |
9b5d853
to
1aa2126
Compare
39469c9
to
19cfd59
Compare
@rfm @fredkiefer any added feedback? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine to me.
Thanks. :) |
Add new methods and some tests for KVO.