I am trying to create custom properties in Swift that allow me to omit the base class. Something like what is allowed with the base colors within UIColor
.
self.backgroundColor = .blueColor()
I know that works but I want to add my own custom colors. I would like the syntax to be something like:
self.backgroundColor = .customColor()