NSText+RACSignalSupport.h 400 B

1234567891011121314151617181920
  1. //
  2. // NSText+RACSignalSupport.h
  3. // ReactiveCocoa
  4. //
  5. // Created by Justin Spahr-Summers on 2013-03-08.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. @class RACSignal;
  10. @interface NSText (RACSignalSupport)
  11. /// Returns a signal which sends the current `string` of the receiver, then the
  12. /// new value any time it changes.
  13. - (RACSignal *)rac_textSignal;
  14. @end