RACStringSequence.h 532 B

12345678910111213141516171819
  1. //
  2. // RACStringSequence.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 "RACSequence.h"
  9. // Private class that adapts a string to the RACSequence interface.
  10. @interface RACStringSequence : RACSequence
  11. // Returns a sequence for enumerating over the given string, starting from the
  12. // given character offset. The string will be copied to prevent mutation.
  13. + (RACSequence *)sequenceWithString:(NSString *)string offset:(NSUInteger)offset;
  14. @end