ss
Aeline
2020-09-26 6d8742046f04db48591ace087c35cca0228ae009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
//  NSObject+BUSafeKVO.h
//  BUFoundation
//
//  Created by Siwant on 2019/9/2.
//  Copyright © 2019 Union. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
@interface NSObject (BUSafeKVO)
 
- (void)bu_addObserver:(NSObject *)observer
            forKeyPath:(NSString *)keyPath
               options:(NSKeyValueObservingOptions)options
               context:(void *)context;
 
- (void)bu_removeObserver:(NSObject *)observer
               forKeyPath:(NSString *)keyPath
                  context:(void *)context;
 
- (void)bu_removeObserver:(NSObject *)observer
               forKeyPath:(NSString *)keyPath;
 
@end