forked from thomas-cao/DropMenuBarExample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDropMenuBar.h
More file actions
27 lines (21 loc) · 700 Bytes
/
Copy pathDropMenuBar.h
File metadata and controls
27 lines (21 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// DropMenuBar.h
// LinkageMenu
//
// Created by 魏小庄 on 2018/6/27.
// Copyright © 2018年 魏小庄. All rights reserved.
//
#import <UIKit/UIKit.h>
@class MenuAction, DropMenuBar;
@protocol DropMenuBarDelegate <NSObject>
- (void)dropMenuViewWillAppear:(DropMenuBar *)view selectAction:(MenuAction *)action;
- (void)dropMenuViewWillDisAppear:(DropMenuBar *)view selectAction:(MenuAction *)action;
@end
@interface DropMenuBar : UIView
/** */
@property (nonatomic, strong) NSArray <MenuAction *>*actions;
@property (nonatomic, weak) id<DropMenuBarDelegate> delegate;
- (instancetype)initWithAction:(NSArray <MenuAction *> *)actions;
// 刷新筛选菜单
- (void)reloadMenus;
@end