MortimerGoro/MGSwipeTableCell

Change the color of text leftSideButton and rightRightButton

Prit-Singh opened this issue · 2 comments

Hi,
I need to change the color of text of leftButton and rightButton of cell and also change the font size of text of buttons,
Please let me know how to change the color of text. Its very urgent.

Thanks in advance.

let button = MGSwipeButton()
button.titleLabel # you can access to title label

I know the issue is closed but this worked better for me, thanks:

let button = MGSwipeButton(title:"Title", backgroundColor: myUIColor)
    button.setTitleColor(myTitleUIColor, for: UIControl.State.normal)