NSEnumerator+RACSequenceAdditions.h 573 B

123456789101112131415161718192021222324
  1. //
  2. // NSEnumerator+RACSequenceAdditions.h
  3. // ReactiveObjC
  4. //
  5. // Created by Uri Baghin on 07/01/2013.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class RACSequence<__covariant ValueType>;
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface NSEnumerator<ObjectType> (RACSequenceAdditions)
  12. /// Creates and returns a sequence corresponding to the receiver.
  13. ///
  14. /// The receiver is exhausted lazily as the sequence is enumerated.
  15. @property (nonatomic, copy, readonly) RACSequence<ObjectType> *rac_sequence;
  16. @end
  17. NS_ASSUME_NONNULL_END