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

Overview

Private class that adapts a RACTuple to the RACSequence interface.

Class Methods

sequenceWithTupleBackingArray:offset:

Returns a sequence for enumerating over the given backing array (from a RACTuple), starting from the given offset.

+ (instancetype)sequenceWithTupleBackingArray:(NSArray *)backingArray offset:(NSUInteger)offset

Declared In

RACTupleSequence.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