Christian Sousa
setTitleTextAttributes(attributes = mapOf(UIColor.whiteColor to "foregroundColor"), forState = UIControlStateSelected)
foregroundColor
backgroundColor
textColor
Artyom Degtyarev [JB]
mapOf
setTitleTextAttributes(attributes = mapOf("foregroundColor" to UIColor.whiteColor), forState = UIControlStateSelected)
A modern programming language that makes developers happier.