FWPasscodeLineView

@interface FWPasscodeLineView : UIView

@property (strong, nonatomic) UIView    *lineView;
@property (assign, nonatomic) BOOL      selected;

/**
 下划线颜色,未选中状态,且没有填充文字时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
 */
@property (copy, nonatomic) UIColor *underlineColorNormal;

/**
 下划线颜色,选中状态时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
 */
@property (copy, nonatomic) UIColor *underlineColorSelected;

/**
 下划线颜色,未选中状态,且有填充文字时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]
 */
@property (copy, nonatomic) UIColor *underlineColorFilled;

/**
 选择状态改变时回调
 */
@property (nullable, copy, nonatomic) void(^selectChangeBlock)(FWPasscodeLineView *lineView, BOOL selected);

- (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (strong, nonatomic) UIView *lineView
  • Undocumented

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (nonatomic, copy) UIColor *_Nonnull underlineColorNormal;
  • 下划线颜色,选中状态时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]

    Declaration

    Objective-C

    @property (nonatomic, copy) UIColor *_Nonnull underlineColorSelected;
  • 下划线颜色,未选中状态,且有填充文字时。默认:[UIColor colorWithRed:49/255.0 green:51/255.0 blue:64/255.0 alpha:1]

    Declaration

    Objective-C

    @property (nonatomic, copy) UIColor *_Nonnull underlineColorFilled;
  • 选择状态改变时回调

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) void (^) (FWPasscodeLineView *_Nonnull __strong, BOOL) selectChangeBlock;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithFrame:(CGRect)frame UNAVAILABLE_ATTRIBUTE;