FUIInlineValidationTableViewCell
@MainActor
open class FUIInlineValidationTableViewCell : NibDesignableFUIBaseTableViewCell, FUIInlineValidation, FUIAccessoryViewDelegate
FUIInlineValidationTableViewCell is a base class for FUIFormCells that need to support validation handling. The validation view will appear at the bottom of cell if validation message is set.
This class is typically not used by developer. Most of form cells are subclassing this class. To enable validation message on form cells by setting validationMessage property.
Code usage:
Set validationMessage on form cell.
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: FUITitleFormCell.reuseIdentifier, for: indexPath) as! FUITitleFormCell
//Configure your cell
cell.validationMessage = "Validation msg"
}
-
Icon image of the
FUIInlineValidationView.If the application does not assign the icon image, the default image will be applied based on the
messageType.Declaration
Swift
@MainActor open var validationIcon: UIImage? { get set } -
Style of
FUIInlineValidationView`Declaration
Swift
@MainActor open var inlineValidationStyle: FUIInlineValidationStyle { get set } -
Message type of
FUIInlineValidationView.Declaration
Swift
@MainActor open var inlineValidationType: FUIInlineValidationType { get set } -
If
showsAINoticeistrue, it will show the Ai Notice view.The default is
false.Declaration
Swift
@MainActor public var showsAINotice: Bool { get set } -
An overlay that will be added to
backgroundViewwhen the cell’s state is set to.disable.Declaration
Swift
@MainActor open var disabledBackgroundView: UIView? { get set } -
Undocumented
Declaration
Swift
@MainActor open var readOnlyBackgroundView: UIView? { get set } -
Type of the accessory view
Declaration
Swift
@IBInspectable @MainActor override open var accessoryType: UITableViewCellAccessoryType { get set }