PasscodeLineView

@MainActor
open class PasscodeLineView : UIView

Undocumented

  • 下划线颜色,未选中状态,且没有填充文字时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]

    Declaration

    Swift

    @MainActor
    open var underlineColorNormal: UIColor?
  • 下划线颜色,选中状态时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]

    Declaration

    Swift

    @MainActor
    open var underlineColorSelected: UIColor?
  • 下划线颜色,未选中状态,且有填充文字时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]

    Declaration

    Swift

    @MainActor
    open var underlineColorFilled: UIColor?
  • 选择状态改变时回调

    Declaration

    Swift

    @MainActor
    open var selectChangeBlock: ((PasscodeLineView, Bool) -> Void)?
  • Undocumented

    Declaration

    Swift

    @MainActor
    open lazy var lineView: UIView { get set }
  • Undocumented

    Declaration

    Swift

    @MainActor
    open var selected: Bool { get set }
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    @MainActor
    public required init?(coder: NSCoder)