Files
peko-ios/YuMi/Modules/YMMine/View/IncomeRecord/XPExchangeDiamondsView.h
2023-07-14 18:50:55 +08:00

50 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 currency:(NSString *)currency;
@end
typedef void(^ExchangeDiamondsItemViewHandle)(NSString *goldNum,NSString *diamondNum);
@interface XPExchangeDiamondsView : UIView
@property (nonatomic,weak) id<XPExchangeDiamondsViewDelegate> delegate;
@property (nonatomic,strong) XPExchangeDiamondsModel *model;
@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)resignResponder;
@end
NS_ASSUME_NONNULL_END