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

Overview

Private class that adapts a string to the RACSequence interface.

Tasks

Other Methods

Other Methods

Class Methods

sequenceWithString:offset:

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

+ (RACSequence *)sequenceWithString:(NSString *)string offset:(NSUInteger)offset

Declared In

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