FRTextField

@objc
@MainActor
public class FRTextField : UITextField
  • Declaration

    Swift

    @objc
    @MainActor
    public var titleFont: UIFont
  • Declaration

    Swift

    @objc
    @MainActor
    public var errorColor: UIColor
  • Declaration

    Swift

    @objc
    @MainActor
    public var normalColor: UIColor
  • Declaration

    Swift

    @objc
    @MainActor
    public var unselectedColor: UIColor { get }
  • Declaration

    Swift

    @objc
    @MainActor
    public var errorMessage: String? { get set }
  • Declaration

    Swift

    @MainActor
    override public var text: String? { get set }
  • Declaration

    Swift

    @MainActor
    override public var placeholder: String? { get set }
  • Declaration

    Swift

    @MainActor
    override public var isSelected: Bool { get set }

Init

  • Declaration

    Swift

    @MainActor
    override public init(frame: CGRect)
  • Declaration

    Swift

    @MainActor
    required public init?(coder aDecoder: NSCoder)

Responder

  • Declaration

    Swift

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

    Swift

    @discardableResult
    @MainActor
    override open func resignFirstResponder() -> Bool

UITextField drawing

  • Declaration

    Swift

    @MainActor
    override open func textRect(forBounds bounds: CGRect) -> CGRect
  • Declaration

    Swift

    @MainActor
    override open func editingRect(forBounds bounds: CGRect) -> CGRect
  • Declaration

    Swift

    @MainActor
    override open func placeholderRect(forBounds bounds: CGRect) -> CGRect