BackgroundColorState
enum BackgroundColorState
The state of the possible background states.
The state can be updated by overriding the state with the next background state.
backgroundState = backgroundState.nextBackgroundState()
Note
This is an example of a note
Warning
This is an example of a warning.
-
Undocumented
Declaration
Swift
case red
-
Green background state.
Declaration
Swift
case green
-
Blue background state.
Declaration
Swift
case blue
-
The corresponding UIColor used to update the background color.
Declaration
Swift
var color: UIColor { get }
-
Provides the next background color state.
Declaration
Swift
func nextBackgroundState() -> BackgroundColorState
Return Value
A background color state enum.