RACEvent Class Reference
| Inherits from | NSObject |
| Conforms to | NSCopying |
| Declared in | RACEvent.h RACEvent.m |
Tasks
-
+ completedEvent -
+ eventWithError: -
+ eventWithValue: -
eventTypeproperty -
finishedproperty -
errorproperty -
valueproperty
Properties
error
The error associated with an event of type RACEventTypeError. This will be nil for all other event types.
@property (nonatomic, strong, readonly) NSError *errorDeclared In
RACEvent.heventType
The type of event represented by the receiver.
@property (nonatomic, assign, readonly) RACEventType eventTypeDeclared In
RACEvent.hClass Methods
completedEvent
Returns a singleton RACEvent representing the completed event.
+ (instancetype)completedEventDeclared In
RACEvent.heventWithError:
Returns a new event of type RACEventTypeError, containing the given error.
+ (instancetype)eventWithError:(NSError *)errorDeclared In
RACEvent.heventWithValue:
Returns a new event of type RACEventTypeNext, containing the given value.
+ (instancetype)eventWithValue:(id)valueDeclared In
RACEvent.h