摘要: __block RACDisposable* dispose = [[RACObserve(self, price) skip:1]subscribeNext:^(NSNumber* x) { [dispose dispose]; }]; 阅读全文
posted @ 2015-10-21 22:12 郭晓倩 阅读(523) 评论(0) 推荐(0) 编辑
摘要: @property (assign,nonatomic) int price;@property (assign,nonatomic) int time;[RACObserve(self,price) subscribNext:(id x){}];1.仅调用price的set方法时,才会触发rac观... 阅读全文
posted @ 2015-10-21 22:05 郭晓倩 阅读(570) 评论(0) 推荐(0) 编辑