How can I have a ButtonRow with both an icon and a title?
Answer:
let buttonRow = ButtonRow() {
$0.title = "Button"
}.cellUpdate { cell, row in
cell.imageView?image = UIImage(named:"myimage")
}
Fixing the answer above:
let buttonRow = ButtonRow() {
$0.title = "Button"
}.cellUpdate { cell, row in
cell.imageView?.image = UIImage(named:"myimage")
}
Most helpful comment
Fixing the answer above: