测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可证 | MIT |
发布日期最新发布 | 2017年6月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由 Jeferson Assis 维护。
受 BGTableViewRowActionWithImage 启发的库
要运行示例项目,克隆仓库,然后在 Example 目录中首先运行 pod install
。
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 文件。