mop-flutter-sdk/ios/Classes/Utils/MopShareView.h

32 lines
711 B
Dart
Raw Normal View History

2023-01-03 22:13:59 +08:00
//
// MopShareView.h
// mop
//
// Created by 王兆耀 on 2023/1/2.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void (^MOPshareBottomViewTypeBlock)(NSString *type);
@interface MopShareView : UIView
@property(nonatomic, copy) MOPshareBottomViewTypeBlock didSelcetTypeBlock;
@property (nonatomic, strong) UIImage *image;
@property(nonatomic, strong) NSDictionary *dataDic;
+ (instancetype)viewWithData:(NSDictionary *)data;
- (void)show;
- (void)dismiss;
@end
@interface MOPshareBottomViewCell : UICollectionViewCell
@property(nonatomic, assign) NSInteger type;
@property(nonatomic, strong) UIImageView *imageView;
@property(nonatomic, strong) UILabel *label;
@end
NS_ASSUME_NONNULL_END