FUIFormCell

public protocol FUIFormCell : AnyObject, FUIInlineValidation

This protocol is to be implemented by all the form cells except FUIAttachmentsFormCell, including:

  • FUIDatePickerFormCell
  • FUIDurationPickerFormCell
  • FUIFilterFormCell
  • FUIKeyValueFormCell
  • FUIListPickerFormCell
  • FUINoteFormCell
  • FUISegmentedControlFormCell
  • FUISimplePropertyFormCell
  • FUISliderFormCell
  • FUIValuePickerFormCell
  • FUISwitchFormCell
  • FUITitleFormCell

  • Note

    All FUIFormCell implemtations listed above have the selectionStyle properties set to .none. Therefore, developers whill not be able to set highlighted on these cells.

    • Undocumented

      Declaration

      Swift

      associatedtype ValueType
    • The value for this form cell.

      Declaration

      Swift

      var value: ValueType { get set }
    • Indicates if the FUIFormCell is editable or not.

      Declaration

      Swift

      var isEditable: Bool { get set }
    • Implementation of change handler. Is invoked on changes to the value property.

      Declaration

      Swift

      var onChangeHandler: ((ValueType) -> Void)? { get set }