-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustomKeyboardViewController.h
44 lines (34 loc) · 1.29 KB
/
CustomKeyboardViewController.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
//
// KeyboardViewController.h
// Teamstory
//
// Created by Freddy Hidalgo-Monchez on 2014-10-08.
//
//
#import <UIKit/UIKit.h>
@protocol CustomKeyboardViewControllerDelegate;
@interface CustomKeyboardViewController : UIViewController <UITextViewDelegate, UITableViewDelegate>
@property (nonatomic, strong) IBOutlet UIButton *sendButton;
@property (nonatomic, strong) IBOutlet UITextView *messageTextView;
@property (nonatomic, weak) id<CustomKeyboardViewControllerDelegate> delegate;
@property (nonatomic, strong) UITableView *ih_tableView;
@property CGFloat keyboardHeight;
@property NSUInteger objCount;
@property (nonatomic, strong) NSString *postType;
- (void)setBackgroundTable:(UITableView *)tableView;
- (void)changeSendButtonState:(BOOL)state;
- (void)setCustomKeyboardHeight:(CGFloat)kbHeight;
- (void)textViewDidChange:(UITextView *)textView;
- (void)setTextViewPosition:(CGFloat)txtViewPos;
- (void)resetTextViewHeight;
- (void)dismissKeyboard;
- (void)setLocation:(NSString *)screenLocation;
@end
@protocol CustomKeyboardViewControllerDelegate <NSObject>
@optional
- (void)keyboardDidBeginEditing;
- (BOOL)keyboardShouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text;
@required
- (void)sendButtonAction:(id)sender;
- (void)setTableViewHeight;
@end // end of delegate protocol