RACArraySequence.h 515 B

12345678910111213141516171819
  1. //
  2. // RACArraySequence.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 an array to the RACSequence interface.
  10. @interface RACArraySequence : RACSequence
  11. // Returns a sequence for enumerating over the given array, starting from the
  12. // given offset. The array will be copied to prevent mutation.
  13. + (RACSequence *)sequenceWithArray:(NSArray *)array offset:(NSUInteger)offset;
  14. @end