//
//  AppLockPasswordController.h
//  AIIM
//
//  Created by qitewei on 2025/5/7.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, LockViewMode) {
    LockViewModeSet,       // 设置密码模式
    LockViewModeVerify,     // 验证密码模式
    LockViewModeChange      // 修改密码模式
};

@interface AppLockPasswordController : UIViewController
@property (nonatomic, assign) LockViewMode mode;
@property (nonatomic, copy) void (^onSuccess)(void);
@property (nonatomic, copy) void (^onSuccessWithSecurity)(void);
@property (nonatomic, copy) void (^onCancel)(void);

// 修改密码时专用的初始化方法
- (instancetype)initWithChangePasswordMode;
@end

NS_ASSUME_NONNULL_END
