Files
peko-ios/YuMi/Modules/YMMine/View/IncomeRecord/XPExchangeDiamondsView.h
2024-09-04 16:11:11 +08:00

46 lines
1.2 KiB
Objective-C

//
// XPExchangeDiamondsView.h
// YuMi
//
// Created by YuMi on 2022/11/17.
//
#import <UIKit/UIKit.h>
#import "XPIncomeRecordView.h"
#import "XPExchangeDiamondsModel.h"
NS_ASSUME_NONNULL_BEGIN
@protocol XPExchangeDiamondsViewDelegate <NSObject>
-(void)confirmExchangeDiamondsWithDiamond:(NSString *)diamond gold:(NSString *)gold ;
@end
typedef void(^ExchangeDiamondsItemViewHandle)(NSString *goldNum,NSString *diamondNum);
@interface XPExchangeDiamondsView : UIView
@property (nonatomic,weak) id<XPExchangeDiamondsViewDelegate> delegate;
@property (nonatomic,strong) XPExchangeDiamondsModel *model;
- (void)showKeyboard;
@end
/*******************************************************华丽分割线***************************************************************/
@interface XPExchangeDiamondsItemView : UIView
@property (nonatomic,copy) ExchangeDiamondsItemViewHandle inputCounthandle;
@property (nonatomic,copy) NSString *text;
@property (nonatomic,strong) XPExchangeDiamondsModel *model;
@property (nonatomic,copy) NSString *count;
-(instancetype)initWithFrame:(CGRect)frame type:(IncomeRecordViewType)type;
-(void)becomeResponder;
-(void)resignResponder;
@end
NS_ASSUME_NONNULL_END