美文网首页
ReactiveObjC (二一)(RACEvent)

ReactiveObjC (二一)(RACEvent)

作者: 李潇南 | 来源:发表于2017-08-31 10:57 被阅读14次
    @interface RACEvent<__covariant ValueType> : NSObject <NSCopying>
    
    + (RACEvent<ValueType> *)completedEvent;
    + (RACEvent<ValueType> *)eventWithError:(nullable NSError *)error;
    + (RACEvent<ValueType> *)eventWithValue:(nullable ValueType)value;
    @property (nonatomic, assign, readonly) RACEventType eventType;
    @property (nonatomic, getter = isFinished, assign, readonly) BOOL finished;
    @property (nonatomic, strong, readonly, nullable) NSError *error;
    @property (nonatomic, strong, readonly, nullable) ValueType value;
    @end
    

    相关文章

      网友评论

          本文标题:ReactiveObjC (二一)(RACEvent)

          本文链接:https://www.haomeiwen.com/subject/mexqjxtx.html