TapActionCell should support left align
getaaron opened this issue · comments
Aaron Brager commented
Cheng-Yao Lin commented
I think this can be achieved by a customized cell:
class LeftAlignedTapActionCell: TapActionCell {
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: .default, reuseIdentifier: reuseIdentifier)
textLabel?.textAlignment = .left
}
}
TapActionRow<LeftAlignedTapActionCell>(title: "Left aligned title", action: { _ in })
Aaron Brager commented
👍