美文网首页
ReactiveObjC (二六)(RACKVOChannel)

ReactiveObjC (二六)(RACKVOChannel)

作者: 李潇南 | 来源:发表于2017-08-31 11:05 被阅读15次
@interface RACKVOChannel<ValueType> : RACChannel<ValueType>

- (instancetype)initWithTarget:(__weak NSObject *)target keyPath:(NSString *)keyPath nilValue:(nullable ValueType)nilValue;

- (instancetype)initWithTarget:(NSObject *)target keyPath:(NSString *)keyPath nilValue:(nullable ValueType)nilValue;

- (instancetype)init __attribute__((unavailable("Use -initWithTarget:keyPath:nilValue: instead")));
@end

@interface RACKVOChannel (RACChannelTo)

- (RACChannelTerminal *)objectForKeyedSubscript:(NSString *)key;
- (void)setObject:(RACChannelTerminal *)otherTerminal forKeyedSubscript:(NSString *)key;

@end

相关文章

网友评论

      本文标题:ReactiveObjC (二六)(RACKVOChannel)

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