Created
June 6, 2017 02:04
-
-
Save ArchieR7/6af2af9f79a51a53b2093458109f5155 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [self.KVOController observe:self | |
| keyPath:NSStringFromSelector(@selector(observeObjectName)) | |
| options:NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew | |
| block:^(id _Nullable observer, id _Nonnull object, NSDictionary<NSString *,id> * _Nonnull change) { | |
| //do something | |
| }]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment