Range.h 256 B

123456789101112
  1. #import <Foundation/Foundation.h>
  2. #import "Sequence.h"
  3. #ifdef TL_SHORTHAND
  4. #define range(num) [Range range:num]
  5. #endif
  6. @interface Range : NSObject
  7. + (Sequence *)range:(NSNumber *)start;
  8. + (Sequence *)range:(NSNumber *)start end:(NSNumber *)end;
  9. @end