FUITintAttributesProvider
public protocol FUITintAttributesProvider : FUIStyleByTintAttributes
Standard Fiori Design Guidelines style implementation for various FUIControlState
conditions. Provided by the SDK.
Not typically used directly by app developers.
-
Retrieves the property’s tint attributes for the current tint state.
Declaration
Swift
func tintAttributes(for property: FUIPropertyRef) -> [NSAttributedStringKey : Any]
Parameters
property
The specified property.
Return Value
A dictionary of tint attributes.
-
Retrieves the property’s tint attributes for the specified tint state.
Declaration
Swift
func tintAttributes(for property: FUIPropertyRef, state: TintState) -> [NSAttributedStringKey : Any]
Parameters
property
The specified property.
state
The specified tint state.
Return Value
A dictionary of tint attributes.
-
Retrieves the style sheet tint attributes for the specified property for the current tint state.
Declaration
Swift
func styleSheetTintAttributes(for property: FUIPropertyRef) -> [NSAttributedStringKey : Any]
Parameters
property
The specified property.
Return Value
A dictionary of tint attributes.
-
Retrieves the style sheet tint attributes for the specified property and tint state.
Declaration
Swift
func styleSheetTintAttributes(for property: FUIPropertyRef, state: TintState) -> [NSAttributedStringKey : Any]
Parameters
property
The specified property.
state
The specified tint state.
Return Value
A dictionary of tint attributes.