1234567891011121314151617181920212223242526272829 |
- //
- // KDPSuppltContentReusableView.h
- // KuDianProject
- //
- // Created by admin on 2019/7/4.
- // Copyright © 2019 KDP. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef NS_ENUM(NSInteger,KDPSupplyContentButtonStyle) {
- KDPSupplyContentButtonStylePrice, // 价格
- KDPSupplyContentButtonStyleProfit // 利润
- };
- NS_ASSUME_NONNULL_BEGIN
- typedef void(^changeScreenBlock)(BOOL isPrice);
- @interface KDPSupplyContentReusableView : UICollectionReusableView
- @property (nonatomic, copy) changeScreenBlock changeBlock;
- - (void)changeScreeWithStyle:(KDPSupplyContentButtonStyle)style Color:(UIColor *)color text:(NSString *)text;
- @end
- NS_ASSUME_NONNULL_END
|