FUIStyleByStringAttributes
public protocol FUIStyleByStringAttributes : AnyObject
Infrastructure protocol, indicating to the NUIViewRenderer that the view contains
child properties which are styleable in components composing style attributes from NSAttributedStringKey: Any] dictionaries.
Not typically used directly by app developer.
-
Map of
FUIPropertyRef(similar toKeyPath, but not bound to aRoot) to Styles. TheFUIStyleTypeholds the[FioriStyle]class path as an associated value, and instructs the renderer which subset of stylesheet properties should be checked.Declaration
Swift
var styleClassForPropertyRef: [FUIPropertyRef : [FUIStyleClassSource : FUIStyleType]] { get set } -
Map of
[NSAttributedStringKey: Any]attributes which are computed from the stylesheet. TheNUIViewRendererupdates the dictionary directly, during theUIView.applyNUI()method.Declaration
Swift
var cachedAttributes: [FUIPropertyRef : [FUIStyleClassSource : [NSAttributedStringKey : Any]]] { get set }