RACControlCommandExamples.h 614 B

12345678910111213141516171819
  1. //
  2. // RACControlCommandExamples.h
  3. // ReactiveCocoa
  4. //
  5. // Created by Justin Spahr-Summers on 2013-08-15.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. // The name of the shared examples for any control class that has
  9. // `rac_command` and `isEnabled` properties.
  10. extern NSString * const RACControlCommandExamples;
  11. // The control to test.
  12. extern NSString * const RACControlCommandExampleControl;
  13. // A block of type `void (^)(id control)` which should activate the
  14. // `rac_command` of the `control` by manipulating the control itself.
  15. extern NSString * const RACControlCommandExampleActivateBlock;