FWComponentModel

protocol FWComponentModel : Decodable, Encodable

Protocol specifying a component’s data structure.

  • id

    The UUID of the component.

    Declaration

    Swift

    var id: String { get }
  • The title of the component.

    Declaration

    Swift

    var title: String { get }
  • A description or subtitle for the component

    Declaration

    Swift

    var description: String { get }
  • A Boolean value that determines if the component is required to be filled or not.

    Declaration

    Swift

    var required: Bool { get }
  • Component Specific Type

    Declaration

    Swift

    var type: FWComponentModelWrapper.Types { get set }