LoginSignup
0
1

【Swift】Eurekaのボタンの色を変更する方法

Last updated at Posted at 2021-03-01

SwiftのライブラリEurekaでボタンの色を変更する方法に苦戦したので残しておきます。

        <<< ButtonRow("Button3") {row in
                row.tag = "delete_row"
                row.title = "商品を削除する"
                row.onCellSelection{[unowned self] ButtonCellOf, row in
                    
                        self.delete()
                    
                }
        }.cellSetup() {cell, row in
                cell.backgroundColor = UIColor.white
                cell.tintColor = UIColor.red
        }

他にもalpha、window、backgroundviewなどがあります。

Swiftのお役立ち情報

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1