AhaLineTableViewCell 1.0.4× 测试已测试✗ Lang语言 Obj-CObjective C许可协议 zlib 发布最后发布2016 年 10 月由 wei_imac 维护。安装指南×AhaLineTableViewCell 的安装指南您想将以下代码添加到您的 Podfile 中类似于:target 'MyApp' do pod 'AhaLineTableViewCell', '~> 1.0' end然后在终端或从 CocoaPods.app 中运行 pod install。或者要测试运行,请运行以下命令pod try AhaLineTableViewCell查看 PodspecGitHub 仓库CocoaPods.org 上的页面AhaLineTableViewCell 1.0.4由livvlivv/AhaLineTableViewCellGitHub 仓库 UITableView 自带的分隔线总是很难满足需求。所以设置为 UITableViewCellSeparatorStyleNone,然后自定义分隔线。 可以自定义颜色、高度、是否隐藏、左右间距。 线的显示和间距都是自动完成的。 使用 Podfile platform :ios, '7.0' pod "AhaLineTableViewCell", "~> 1.0.0" 只需简单一行代码: [tableView configLineforCell:cell forRowAtIndexPath:indexPath withLeftSpace:20]; 示例