forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEaseToolBar.h
More file actions
executable file
·33 lines (26 loc) · 951 Bytes
/
Copy pathEaseToolBar.h
File metadata and controls
executable file
·33 lines (26 loc) · 951 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
28
29
30
31
32
33
//
// EaseToolBar.h
// Coding_iOS
//
// Created by Ease on 14/11/27.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <PPiAwesomeButton/UIAwesomeButton.h>
@class EaseToolBar;
@protocol EaseToolBarDelegate <NSObject>
@optional
- (void)easeToolBar:(EaseToolBar *)toolBar didClickedIndex:(NSInteger)index;
@end
@interface EaseToolBar : UIView
@property (nonatomic, weak) id <EaseToolBarDelegate> delegate;
+ (instancetype)easeToolBarWithItems:(NSArray *)buttonItems;
- (id)itemOfIndex:(NSInteger)index;
- (instancetype)initWithItems:(NSArray *)buttonItems;
@end
@interface EaseToolBarItem : UIAwesomeButton
+ (instancetype)easeToolBarItemWithTitle:(NSString *)title image:(NSString *)imageName disableImage:(NSString *)disableImageName;
- (instancetype)initWithTitle:(NSString *)title image:(NSString *)imageName disableImage:(NSString *)disableImageName;
- (void)addTipIcon;
- (void)removeTipIcon;
@end