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
implementations listed above have the selectionStyle
properties set to
.none
. Therefore, developers will not be able to set highlighted on these cells.
-
The associated type for the value. Should be defined in the implementation.
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 }