I am very new to swift and trying to create an extension of UIColor class as
extension UIColor{ func getCustomBlueColor() -> UIColor { retur
Could use a computed property:
extension UIColor { var customBlueColor: UIColor { return UIColor(red:0.043, green:0.576 ,blue:0.588 , alpha:1.00) } }
And then to call it:
UIColor().customBlueColor