name pop
This commit is contained in:
32
keyBoard/Class/Me/V/KBChangeNicknamePopView.h
Normal file
32
keyBoard/Class/Me/V/KBChangeNicknamePopView.h
Normal file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// KBChangeNicknamePopView.h
|
||||
// keyBoard
|
||||
//
|
||||
// Created by Codex on 2025/11/11.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// 修改昵称弹窗自定义视图(用于 LSTPopView)
|
||||
/// - Masonry 布局
|
||||
/// - 子控件懒加载
|
||||
/// - 中文注释
|
||||
@interface KBChangeNicknamePopView : UIView
|
||||
|
||||
/// 保存按钮回调,返回输入的昵称
|
||||
@property (nonatomic, copy, nullable) void (^saveHandler)(NSString *nickname);
|
||||
/// 关闭按钮回调
|
||||
@property (nonatomic, copy, nullable) void (^closeHandler)(void);
|
||||
|
||||
/// 预填充的昵称
|
||||
@property (nonatomic, copy) NSString *prefillNickname;
|
||||
|
||||
/// 让输入框成为第一响应者
|
||||
- (void)focusInput;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user