BFTextField

open class BFTextField : UITextField

This class adds some useful functions to UITextField that cannot be in an extension.

  • Required init function.

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)

    Parameters

    aDecoder

    NSCoder.

    Return Value

    The initialized instance.

  • Encodes added variables.

    Declaration

    Swift

    override open func encode(with aCoder: NSCoder)

    Parameters

    aCoder

    NSCoder.

  • Override init with frame.

    Declaration

    Swift

    override public init(frame: CGRect)

    Parameters

    frame

    TextField frame.