UIRefreshControl+RACCommandSupport.h 717 B

123456789101112131415161718192021222324252627
  1. //
  2. // UIRefreshControl+RACCommandSupport.h
  3. // ReactiveObjC
  4. //
  5. // Created by Dave Lee on 2013-10-17.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class RACCommand<__contravariant InputType, __covariant ValueType>;
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface UIRefreshControl (RACCommandSupport)
  12. /// Manipulate the RACCommand property associated with this refresh control.
  13. ///
  14. /// When this refresh control is activated by the user, the command will be
  15. /// executed. Upon completion or error of the execution signal, -endRefreshing
  16. /// will be invoked.
  17. @property (nonatomic, strong, nullable) RACCommand<__kindof UIRefreshControl *, id> *rac_command;
  18. @end
  19. NS_ASSUME_NONNULL_END