Files
keyboard/keyBoard/Class/Me/V/KBChangeNicknamePopView.h
2025-11-11 15:28:22 +08:00

33 lines
693 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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