FUIStyleByTintAttributes
public protocol FUIStyleByTintAttributes
Undocumented
-
Undocumented
Declaration
Swift
associatedtype TintState : Defaultable, Hashable
-
Map of
[NSAttributedStringKey: Any]
attributes which are computed from the stylesheet. TheNUIViewRenderer
updates the dictionary directly, during theUIView.applyNUI()
method.Declaration
Swift
var tintAttributes: [FUIPropertyRef : [TintState : [NSAttributedStringKey : Any]]] { get set }
-
setTintColor(_:for:state:)
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
mutating func setTintColor(_ color: UIColor, for property: FUIPropertyRef, state: TintState)
-
addAttributes(_:for:state:)
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
mutating func addAttributes(_ attributes: [NSAttributedStringKey : Any], for property: FUIPropertyRef, state: TintState)
-
setAttributes(_:for:state:)
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
mutating func setAttributes(_ attributes: [NSAttributedStringKey : Any], for property: FUIPropertyRef, state: TintState)
-
Undocumented
Declaration
Swift
var tintState: TintState { get set }