JATableViewRowAction 0.1.2

JATableViewRowAction 0.1.2

测试已测试
语言语言 SwiftSwift
许可证 MIT
发布日期最新发布2017年6月
SwiftSwift 版本3.0
SPM支持 SPM

Jeferson Assis 维护。



  • assisjeferson

JATableViewRowAction

BGTableViewRowActionWithImage 启发的库

示例

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

要求

  • iOS 8.0+
  • Xcode 8+
  • Swift 3

安装

CocoaPods 是 Cocoa 项目的依赖管理器。JATableViewRowAction 通过 CocoaPods 提供。要安装它,只需将以下行添加到 Podfile

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

pod "JATableViewRowAction"

然后运行以下命令

$ pod install

用法

// In your imports:
import JATableViewRowAction

// In your code:
JATableViewRowAction.rowAction(style: UITableViewRowActionStyle,
                               title: String,
                          titleColor: UIColor,
                               image: UIImage,
                     backgroundColor: UIColor,
                               frame: CGSize,
                                font: UIFont?,
                             handler: @escaping ((UITableViewRowAction, IndexPath) -> Swift.Void)

作者

assisjeferson, [email protected]

许可证

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