ATSheetView
示例
要运行示例项目,首先克隆仓库,然后从 Example 目录运行 pod install
#import <ATSheetView/ATSheetView.h>
- 工作表 - 默认
NSArray *actions = @[ATPopupActionMake(@"Normal", ATPopupActionStyleNormal, block),
ATPopupActionMake(@"Highlighted", ATPopupActionStyleHighlighted, block),
ATPopupActionMake(@"Disabled", ATPopupActionStyleDisabled, block)];
ATSheetView *view = \
ATSheetView.build.withTitle(title).withActions(actions);
view.showInWindow();
要求
安装
ATSheetView 可通过 CocoaPods 获得。要安装它,只需将以下行添加到您的 Podfile 中
pod 'ATSheetView'
作者
ablett, [email protected]
许可
ATSheetView 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。