NSSet+RACSequenceAdditions.h 588 B

123456789101112131415161718192021222324
  1. //
  2. // NSSet+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 NSSet<__covariant ObjectType> (RACSequenceAdditions)
  12. /// Creates and returns a sequence corresponding to the receiver.
  13. ///
  14. /// Mutating the receiver will not affect the sequence after it's been created.
  15. @property (nonatomic, copy, readonly) RACSequence<ObjectType> *rac_sequence;
  16. @end
  17. NS_ASSUME_NONNULL_END