38 lines
931 B
Objective-C
38 lines
931 B
Objective-C
//
|
|
// DSWebMenuCollectionView.h
|
|
// VietnamGame
|
|
//
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "LinkConfig.h"
|
|
#import "MacroDefine.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef NS_ENUM(NSInteger, DSWebMenuType) {
|
|
DSWebMenuHomeType, // 回到菜单
|
|
DSWebMenuRefreshType, // 刷新
|
|
DSWebMenuTelegramType, // Telegram
|
|
DSWebMenuWhatsAppType, // WhatsApp
|
|
DSWebMenuFacebookType, // Facebook
|
|
DSWebMenuNotiType, // 推送中心
|
|
};
|
|
|
|
@protocol DSWebMenuDelegate <NSObject>
|
|
|
|
-(void)webMenuCollectionViewWithMenuType:(id)webMenuType;
|
|
|
|
@end
|
|
|
|
@interface DSWebMenuCollectionView : UICollectionView <UICollectionViewDelegate,UICollectionViewDataSource>
|
|
|
|
@property (nonatomic, weak) id<DSWebMenuDelegate> webMenuDelegate;
|
|
|
|
@property (nonatomic, strong) NSMutableArray <NSNumber *>*shareArray;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|