FBKVOController+Extension.h 499 B

123456789101112131415161718192021
  1. //
  2. // FBKVOController+Extension.h
  3. // homy
  4. //
  5. // Created by 翟玉磊 on 2018/11/9.
  6. // Copyright © 2018 翟玉磊. All rights reserved.
  7. //
  8. #import "FBKVOController.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface FBKVOController (Extension)
  11. - (void)fb_observe:(nullable id)object keyPath:(NSString *_Nullable)keyPath block:(FBKVONotificationBlock _Nullable )block;
  12. - (void)fb_observe:(nullable id)object keyPath:(NSString *_Nullable)keyPath action:(SEL _Nullable )action;
  13. @end
  14. NS_ASSUME_NONNULL_END