【文件属性】:
文件名称:UIActionSheet-Blocks:UIActionSheet上的类别,以使用内联块回调而不是委托回调
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-14 11:12:35
Objective-C
UIActionSheet +块
UIActionSheet上的类别,以使用内联块回调而不是委托回调。
UIActionSheet是在块,ARC和其命名(触摸屏)的名称之前创建的。 谁会“点击”操作表?
让我们用一些块状善良的方式使这个shizzle现代化。
typedef void (^UIActionSheetBlock) (UIActionSheet *actionSheet);
typedef void (^UIActionSheetCompletionBlock) (UIActionSheet *actionSheet, NSInteger buttonIndex);
@property (copy, nonatomic) UIActionSheetCompletionBlock tapBlock;
@property (copy, nonatomic) UIActionS
【文件预览】:
UIActionSheet-Blocks-master
----.gitignore(232B)
----README.md(3KB)
----UIActionSheet+Blocks.m(13KB)
----UIActionSheet+Blocks.h(4KB)
----LICENSE(1KB)
----Tests()
--------UIActionSheetBlocksTests()
--------UIActionSheetBlocks()
--------UIActionSheetBlocks.xcodeproj()
----UIActionSheet+Blocks.podspec(924B)