NSString+RACSequenceAdditions.h 629 B

1234567891011121314151617181920212223242526
  1. //
  2. // NSString+RACSequenceAdditions.h
  3. // ReactiveObjC
  4. //
  5. // Created by Justin Spahr-Summers on 2012-10-29.
  6. // Copyright (c) 2012 GitHub. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class RACSequence<__covariant ValueType>;
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface NSString (RACSequenceAdditions)
  12. /// Creates and returns a sequence containing strings corresponding to each
  13. /// composed character sequence in the receiver.
  14. ///
  15. /// Mutating the receiver will not affect the sequence after it's been created.
  16. @property (nonatomic, copy, readonly) RACSequence<NSString *> *rac_sequence;
  17. @end
  18. NS_ASSUME_NONNULL_END