NSIndexSet+RACSequenceAdditions.h 605 B

12345678910111213141516171819202122232425
  1. //
  2. // NSIndexSet+RACSequenceAdditions.h
  3. // ReactiveObjC
  4. //
  5. // Created by Sergey Gavrilyuk on 12/17/13.
  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 NSIndexSet (RACSequenceAdditions)
  12. /// Creates and returns a sequence of indexes (as `NSNumber`s) corresponding to
  13. /// the receiver.
  14. ///
  15. /// Mutating the receiver will not affect the sequence after it's been created.
  16. @property (nonatomic, copy, readonly) RACSequence<NSNumber *> *rac_sequence;
  17. @end
  18. NS_ASSUME_NONNULL_END