PXBlockAlertView 0.2.1

PXBlockAlertView 0.2.1

测试测试
语言语言 Obj-CObjective C
许可证 MIT
发布最后发布2016 年 6 月

Daniel Blakemore 维护。



  • Daniel Blakemore

简短概述

类方法,通过提供标题、消息以及一个或两个按钮标题和按钮块来显示警报

[PXBlockAlertView showWithTitle:@"So Simple" message:@"I can't believe it's not a pain." acceptButtonTitle:@"Show Me Another" block:^(PXBlockAlertView *sender) {
    [self showAlert];
} cancelButtonTitle:@"Awesome" block:^(PXBlockAlertView *sender) {
    // do nothing
}];

用法

  1. 导入 .
  2. 调用 showWith.. 方法之一。
  3. ???
  4. </project>

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

需要

本 Pod 需要 iOS 8.0 和 !use_frameworks

安装

PXBlockAlertView 可通过 CocoaPods 获得。要安装它,只需在 Podfile 中添加以下行

pod "PXBlockAlertView"

作者

Daniel Blakemore, [email protected]

许可证

PXBlockAlertView 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。