-
Notifications
You must be signed in to change notification settings - Fork 4
/
UTEditableTableView.h
37 lines (29 loc) · 955 Bytes
/
UTEditableTableView.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
//
// UTEditableTableView.h
// RingFinder
//
// Created by Danny Morrow on 10/29/10.
// Copyright 2010 unitytheory.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "UTTableViewCell.h"
@interface UTEditableTableView : UITableView <UTTableViewCellDelegate, UITableViewDelegate>
{
float _maxHeight;
BOOL _keyboardVisible;
id _firstResponder;
NSMutableDictionary* __weak _dataModel;
UITableViewCell* _selectedCell;
CGRect _originalFrame;
}
@property (nonatomic) float maxHeight;
@property (weak, nonatomic, readonly) NSMutableDictionary* dataModel;
- (void) closeKeyboard;
- (void) addObservers;
- (void) removeObservers;
- (void) scrollTo:(CGPoint)offset animated:(BOOL) animated;
- (void) setContentSize:(CGSize)size animated:(BOOL)animated;
- (void) setFrame:(CGRect)frame animated:(BOOL)animated;
- (void)keyboardWillHide:(NSNotification*)notification;
- (void)keyboardWillShow:(NSNotification *)notification;
@end