-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathUTTableViewCell.h
45 lines (33 loc) · 1.07 KB
/
UTTableViewCell.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
//
// UTTableViewCell.h
// RingFinder
//
// Created by Danny Morrow on 10/29/10.
// Copyright 2010 unitytheory.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol UTTableViewCellDelegate;
@interface UTTableViewCell : UITableViewCell
{
id <UTTableViewCellDelegate> __weak delegate;
NSString* _key;
id _value;
NSDictionary* _data;
}
@property (nonatomic, strong) NSDictionary* data;
@property (nonatomic, strong) NSString* key;
@property (nonatomic, strong) id value;
@property (nonatomic, weak) id <UTTableViewCellDelegate> delegate;
@property (weak, nonatomic, readonly) UIResponder* responder;
+ (CGFloat)tableView:(UITableView*)tableView rowHeightForObject:(id)object ;
- (void) drawView;
- (void) select;
- (UIViewController*) viewController;
@end
@protocol UTTableViewCellDelegate <NSObject>
@optional
- (void) valueDidChange:(UTTableViewCell *) cell value:(id)value key:(NSString*)key;
- (void) cellDidBeginEditting:(UTTableViewCell *)cell;
- (void) cellDidEndEditting:(UTTableViewCell *)cell;
- (void) cellDidSubmit:(UTTableViewCell *)cell;
@end