#import <V7GoogDriveTableView.h>
Definition at line 13 of file V7GoogDriveTableView.h.
◆ getViewHeightReqmt()
- (float) getViewHeightReqmt |
|
|
|
|
implementation |
Reimplemented from Z7EmpaneledTableView.
Definition at line 105 of file V7GoogDriveTableView.m.
107 NSArray<NSDictionary *> *foodEntries = [dataDelegate provideFocusFoodListDriveArray];
108 NSInteger nFoods = [foodEntries count];
110 float ret = [
super getViewHeightReqmt] + nFoods * 42.0;
111 NSLog(
@"V7GoogDriveTableView.getViewHeightReqmt: ret: %3.2f", ret);
◆ initWithFrame:andHeader:inContainer:()
- (id) initWithFrame: |
|
(CGRect) |
frame |
andHeader: |
|
(UIView *) |
headerView |
inContainer: |
|
(id<V7GoogDriveTableDelegate>) |
container |
|
|
| |
Definition at line 19 of file V7GoogDriveTableView.m.
21 inContainer:(id<V7GoogDriveTableDelegate>)container
23 NSLog(
@"V7GoogDriveTableView.init");
25 self = [
super initWithFrame:frame];
26 [
self setTableHeaderView:headerView];
28 self.dataSource =
self;
30 dataDelegate = container;
33 [mDateFormatter setTimeStyle:NSDateFormatterNoStyle];
34 [mDateFormatter setDateStyle:NSDateFormatterMediumStyle];
NSDateFormatter * mDateFormatter
instancetype sharedInstance()
Singleton interface to both core and remote data sources.
UIView< Z6ContainedView > * headerView
◆ setTableCaption:()
◆ tableView:cellForRowAtIndexPath:()
- (UITableViewCell *) tableView: |
|
(UITableView *) |
tableView |
cellForRowAtIndexPath: |
|
(NSIndexPath *) |
indexPath |
|
|
| |
|
implementation |
Definition at line 50 of file V7GoogDriveTableView.m.
50 :(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
52 UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"todays-drive-item"];
53 NSLog(
@"V7GoogDriveTableView.cellForRow: cell: %@", cell);
55 cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"todays-drive-item"];
57 cell.contentView.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
59 CGRect contentRect = [cell.contentView frame];
60 CGRect fetchPublishButton1Frame = CGRectMake(0.0 , 5.0, 34.0f, contentRect.size.height - 10);
61 UIButton *pushMe = [[UIButton alloc] initWithFrame:fetchPublishButton1Frame];
62 [pushMe setBackgroundColor:[UIColor redColor]];
63 [pushMe setTitle:@"GO" forState:UIControlStateApplication];
64 [cell setBackgroundColor:[UIColor pearlColor]];
65 [cell.contentView addSubview:pushMe];
69 NSArray<NSString *> *foodEntries = [dataDelegate provideFocusFoodListDriveArray];
70 NSInteger nMesgs = [foodEntries count];
72 if (nMesgs > [indexPath row]) {
75 NSString *caption = [foodEntries objectAtIndex:[indexPath row]];
92 cell.textLabel.text = caption;
◆ tableView:didSelectRowAtIndexPath:()
- (void) tableView: |
|
(UITableView *) |
tableView |
didSelectRowAtIndexPath: |
|
(NSIndexPath *) |
indexPath |
|
|
| |
|
implementation |
Definition at line 115 of file V7GoogDriveTableView.m.
115 :(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
◆ tableView:numberOfRowsInSection:()
- (NSInteger) tableView: |
|
(UITableView *) |
tableView |
numberOfRowsInSection: |
|
(NSInteger) |
section |
|
|
| |
|
implementation |
Definition at line 43 of file V7GoogDriveTableView.m.
43 :(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
45 NSArray<NSString *> *foodEntries = [dataDelegate provideFocusFoodListDriveArray];
46 NSInteger nMesgs = [foodEntries count];
The documentation for this class was generated from the following files: