FloatingTextField

open class FloatingTextField : UITextField

Undocumented

Texts

  • Undocumented

    Declaration

    Swift

    open var title: String? { get set }
  • Undocumented

    Declaration

    Swift

    open var titleFont: UIFont { get set }
  • Undocumented

    Declaration

    Swift

    override open var placeholder: String? { get set }
  • Undocumented

    Declaration

    Swift

    open var placeholderFont: UIFont? { get set }
  • Undocumented

    Declaration

    Swift

    override open var textAlignment: NSTextAlignment { get set }
  • Undocumented

    Declaration

    Swift

    open var textAlignmentIndex: Int { get set }
  • Undocumented

    Declaration

    Swift

    open var errorMessage: String? { get set }
  • Undocumented

    Declaration

    Swift

    override open var text: String? { get set }
  • Undocumented

    Declaration

    Swift

    open var datePicker: UIDatePicker?

Colors

  • Undocumented

    Declaration

    Swift

    override open var textColor: UIColor? { get set }
  • Undocumented

    Declaration

    Swift

    open var titleColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var selectedTitleColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var lineColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var selectedLineColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var placeholderColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var disabledColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var errorColor: UIColor { get set }

Line Height

  • Undocumented

    Declaration

    Swift

    open var lineHeight: CGFloat { get set }
  • Undocumented

    Declaration

    Swift

    open var selectedLineHeight: CGFloat { get set }

Flags

  • Undocumented

    Declaration

    Swift

    override open var isSecureTextEntry: Bool { get set }
  • Undocumented

    Declaration

    Swift

    override open var isHighlighted: Bool { get set }
  • Undocumented

    Declaration

    Swift

    override open var isSelected: Bool { get set }
  • Undocumented

    Declaration

    Swift

    override open var isEnabled: Bool { get set }
  • Undocumented

    Declaration

    Swift

    open var isEditingOrSelected: Bool { get }
  • Undocumented

    Declaration

    Swift

    open var hasErrorMessage: Bool { get }
  • Undocumented

    Declaration

    Swift

    open func setIsTitleVisible(_ isTitleVisible: Bool,
                                animated: Bool = false,
                                animationCompletion: ((_ completed: Bool) -> Void)? = nil)

Views

  • Undocumented

    Declaration

    Swift

    public var titleLabel: UILabel!
  • Undocumented

    Declaration

    Swift

    public var lineView: UIView!

Init

  • Undocumented

    Declaration

    Swift

    override public init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    open func init_FloatingTextField()

Updates

Helpers

  • Undocumented

    Declaration

    Swift

    open func formatTitle(_ title: String?) -> String?
  • Undocumented

    Declaration

    Swift

    open func textHeight() -> CGFloat

Events

  • Undocumented

    Declaration

    Swift

    @discardableResult
    override open func becomeFirstResponder() -> Bool
  • Undocumented

    Declaration

    Swift

    @discardableResult
    override open func resignFirstResponder() -> Bool