Thursday, March 23, 2017

Swift 3.0 How to make CGColorRef from UIColor

This is pretty easy. For e.g

button.layer.borderColor = UIColor.white.cgColor


No comments:

Post a Comment