iOS: 把block 做为 @property 来使用
typedef void(^ActionSheetCallback)(int); @property (nonatomic, copy) ActionSheetCallback actionSheetCallback; @property (copy, readwrite, nonatomic) void (^touchUpInsideImageButton)(id sender);
相传在,ARC和MRC下都正常.
相关推荐
IOSPanPan 2015-04-15
chermonlove 2019-08-02
tzshlyt 2019-07-01
jscjxysx 2019-07-01
tzshlyt 2019-07-01
Jplane 2019-07-01
lijiexiaoge 2019-06-29
lijiexiaoge 2019-06-27
我的iOS王者之路 2019-06-21
huangxiaoyu 2018-05-04
wsmrcool 2016-08-05
lingluan 2015-04-15
SoccerZZM 2014-06-12
qianchunqiang 2013-11-28
酒鬼 2013-08-01
dahuichen 2013-03-27