In previous versions of swift, you would get the colour white like this UIColor.whiteColor()
UIColor.whiteColor()
However, in Swift 3, you get the colour white without initi
They are properties, not functions.
import UIKit extension UIColor { // Read-only computed property allows you to omit the get keyword static var custom: UIColor { return UIColor(white: 0.5, alpha: 1) } }