Inherits from RACSequence : RACStream : NSObject
Declared in RACArraySequence.h
RACArraySequence.m

Overview

Private class that adapts an array to the RACSequence interface.

Tasks

Other Methods

Other Methods

Extension Methods

Properties

array

Evaluates the full sequence to produce an equivalently-sized array.

@property (nonatomic, copy, readonly) NSArray *array

Declared In

RACSequence.h

Class Methods

sequenceWithArray:offset:

Returns a sequence for enumerating over the given array, starting from the given offset. The array will be copied to prevent mutation.

+ (instancetype)sequenceWithArray:(NSArray *)array offset:(NSUInteger)offset

Declared In

RACArraySequence.h

Instance Methods

array

Evaluates the full sequence to produce an equivalently-sized array.

- (NSArray *)array

Declared In

RACSequence.h

head

The first object in the sequence, or nil if the sequence is empty.

- (id)head

Discussion

Subclasses must provide an implementation of this method.

Declared In

RACSequence.h

tail

All but the first object in the sequence, or nil if the sequence is empty.

- (RACSequence *)tail

Discussion

Subclasses must provide an implementation of this method.

Declared In

RACSequence.h