FUIStateTintable
public protocol FUIStateTintable : AnyObject
Undocumented
-
state
Default implementationUndocumented
Default Implementation
Tintable state as
UIControlState
Declaration
Swift
var state: UIControlState { get }
-
stateDidChange()
Default implementationUndocumented
Default Implementation
Should be invoked by controls, when state is changed. Technique for doing this may vary. Controls are responsible for invoking correclty.
Declaration
Swift
func stateDidChange()
-
Undocumented
Declaration
Swift
var tintColor: UIColor! { get set }
-
setTintColor(_:for:)
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
func setTintColor(_ color: UIColor, for state: UIControlState)
-
tintColor(for:)
Default implementationUndocumented
Default Implementation
Public getter to read tint color from backing dictionary
Declaration
Swift
func tintColor(for state: UIControlState) -> UIColor?