-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathRFKeyboardToolbar.h
46 lines (38 loc) · 1021 Bytes
/
RFKeyboardToolbar.h
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
43
44
45
46
//
// RFKeyboardToolbar.h
//
// Created by Rudd Fawcett on 12/3/13.
// Copyright (c) 2013 Rudd Fawcett. All rights reserved.
//
#import <UIKit/UIKit.h>
#include <AvailabilityMacros.h>
#import "RFToolbarButton.h"
@interface RFKeyboardToolbar : UIView
/**
* The buttons of the toolbar.
*/
@property (nonatomic, strong) NSArray *buttons;
/**
* Creates a new toolbar.
*
* @param buttons The buttons to draw in the view.
*
* @return A RFKeyboardToolbar.
*/
+ (instancetype)toolbarWithButtons:(NSArray *)buttons;
/**
* Creates a new toolbar.
*
* @param buttons The buttons to draw in the view.
*
* @return A RFKeyboardToolbar.
*/
+ (instancetype)toolbarViewWithButtons:(NSArray *)buttons DEPRECATED_MSG_ATTRIBUTE("This will still work, but there's a shorter method available, toolbarWithButtons:");
/**
*
*
* @param buttons Sets the buttons for the toolbar.
* @param animated Whether or not it should be animated.
*/
- (void)setButtons:(NSArray *)buttons animated:(BOOL)animated;
@end