43 lines
1.0 KiB
Objective-C
43 lines
1.0 KiB
Objective-C
//
|
|
// QXUserInfoEditFooterView.h
|
|
// QXLive
|
|
//
|
|
// Created by 启星 on 2025/5/20.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@protocol QXUserInfoImageCellDelegate <NSObject>
|
|
|
|
@optional
|
|
-(void)didClickDelete:(NSString*)imageUrl index:(NSInteger)index;
|
|
|
|
/// 图片上传完成
|
|
-(void)didUploadFinishedWithImageUrlList:(NSArray*)urlList;
|
|
|
|
@end
|
|
@interface QXUserInfoEditFooterView : UIView
|
|
|
|
/// 隐藏头 默认不隐藏
|
|
@property (nonatomic,assign)BOOL hideTitle;
|
|
/// 最大可选择张数 默认6张
|
|
@property (nonatomic,assign)NSInteger maxCount;
|
|
|
|
@property (nonatomic,weak)id<QXUserInfoImageCellDelegate>delegate;
|
|
|
|
/// 编辑资料时显示传值
|
|
@property (nonatomic,strong)NSArray *imgs;
|
|
@end
|
|
|
|
|
|
@interface QXUserInfoImageCell : UICollectionViewCell
|
|
@property (nonatomic,strong)UIImageView *imageView;
|
|
@property (nonatomic,strong)UIButton *deleteBtn;
|
|
@property (nonatomic,strong)NSString *imageUrl;
|
|
@property (nonatomic,assign)NSInteger index;
|
|
@property (nonatomic,weak)id<QXUserInfoImageCellDelegate>delegate;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|