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
34
35
36
37
38
39
40
41
42
//
// GXFBottomView.h
// XFFruit
//
// Created by freecui on 15/9/1.
// Copyright (c) 2015年 Xummer. All rights reserved.
//
#import "IBTUIView.h"
@class GXFBottomView;
@protocol GXFBottomViewDelegate <NSObject>
- (void)bottomViewleftButtonClicked: (UIButton *)leftBtn;
- (void)bottomViewRightButtonClicked: (UIButton *)rightBtn;
- (void)bottomViewOneButtonClicked: (UIButton *)oneBtn;
@end
@interface GXFBottomView : IBTUIView
typedef NS_ENUM(NSInteger, buttonTag){
leftTag = 1,
rightTag
};
@property (nonatomic, weak) id<GXFBottomViewDelegate>delegate;
@property (nonatomic, strong) UIButton *f_leftBtn;
@property (nonatomic, strong) UIButton *f_rightBtn;
@property (nonatomic, strong) UIButton *f_oneBtn;
- (instancetype)initWithFrame:(CGRect)frame
LeftBtnTitle: (NSString *)leftTitle
rightBtnTitle: (NSString *)rightTitle;
- (instancetype)initWithFrame:(CGRect)frame
leftButtonColor: (UIColor *)leftBtnColor
rightButtonColor: (UIColor *)rightBtnColor
LeftBtnTitle: (NSString *)leftTitle
rightBtnTitle: (NSString *)rightTitle;
- (instancetype)initOneButtonWithFrame:(CGRect)frame
buttonColor: (UIColor *)btnColor
buttonTitle: (NSString *)title;
@end