RSDStepTextFieldCell

open class RSDStepTextFieldCell : RSDTableViewCell

RSDStepTextFieldCell is the base implementation of a text field used to enter answers in a form step table view.

  • The text field associated with this cell.

    Declaration

    Swift

    public var textField: RSDStepTextField!
  • The label used to display the prompt for the input field.

    Declaration

    Swift

    open var fieldLabel: UILabel!
  • A line show below the text field.

    Declaration

    Swift

    open var ruleView: UIView!
  • Layout constants. Subclasses can override to customize; otherwise the default private constants are used.

    Declaration

    Swift

    open private(set) var constants: RSDStepTextFieldCellLayoutConstants {
      get
      }
  • Create all the view elements. Subclasses can override to provide custom instances.

    Declaration

    Swift

    open func initializeViews()
  • Declaration

    Swift

    override open var usesTableBackgroundColor: Bool { get }
  • Declaration

    Swift

    override open func setDesignSystem(_ designSystem: RSDDesignSystem, with background: RSDColorTile)
  • Define the subView properties.

    Declaration

    Swift

    open func setupViews()
  • Set the string for the text field placeholder. View controllers should use this method rather than accessing the text field’s ‘placeholder’ directly because some subclasses may not display the placeholder text.

    Declaration

    Swift

    open var placeholder: String? { get set }