Skip to content

Commit

Permalink
Added footView to Example project table
Browse files Browse the repository at this point in the history
  • Loading branch information
jagreenwood committed Nov 10, 2012
1 parent 3885511 commit 58aa03c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ExampleProject/Example/ExampleView.m
Expand Up @@ -46,6 +46,14 @@ Note by default scroll views (and therefore table views) don't
_tableView.dataSource = self;
_tableView.delegate = self;
_tableView.maintainContentOffsetAfterReload = YES;

TUILabel *footerLabel = [[TUILabel alloc] initWithFrame:CGRectMake(0, 0, _tableView.frame.size.width, 44)];
footerLabel.alignment = TUITextAlignmentCenter;
footerLabel.backgroundColor = [NSColor clearColor];
footerLabel.font = exampleFont2;
footerLabel.text = @"Example Footer View";
_tableView.footerView = footerLabel;

[self addSubview:_tableView];

_tabBar = [[ExampleTabBar alloc] initWithNumberOfTabs:5];
Expand Down

0 comments on commit 58aa03c

Please sign in to comment.