UITextField

class UITextField : UIControl, UITextInput, NSCoding, UIContentSizeCategoryAdjusting
  • 占位文字颜色

    Declaration

    Swift

    public var placeholderColor: UIColor? { get set }
  • 占位文字字体

    Declaration

    Swift

    public var placeholderFont: UIFont? { get set }
  • 左边间距

    Declaration

    Swift

    public var leftPadding: CGFloat { get set }
  • 右边间距

    Declaration

    Swift

    public var rightPadding: CGFloat { get set }