FUIValueComponent

public protocol FUIValueComponent : FUIAttributesConsumer

Common protocol for Value properties.

  • The type of the value.

    Declaration

    Swift

    associatedtype ValueType
  • The value property.

    Declaration

    Swift

    var value: ValueType { get set }
  • Developer formatted NSAttributedString to display as the value.

    Declaration

    Swift

    var valueAttributedText: NSAttributedString! { get set }
  • NUIStyleClassPath for value property.

    Declaration

    Swift

    var valueStyleClassPath: [FioriStyle] { get set }
  • textForValue Default implementation

    Return text representation for the value.

    Default Implementation

    Declaration

    Swift

    var textForValue: ((ValueType) -> FUITextProtocol)? { get set }
  • valueStyleClassPath Default implementation

    Default Implementation

    NUIStyleClassPath for values property

    Declaration

    Swift

    public var valueStyleClassPath: [FioriStyle] { get set }
  • valueAttributedText Default implementation

    Default Implementation

    Developer formatted NSAttributedString to display as the title.

    Declaration

    Swift

    public var valueAttributedText: NSAttributedString! { get set }