Setting row height in viewDidLoad for NearbySpots controller

This commit is contained in:
Mattt Thompson 2011-06-01 09:10:33 -05:00
parent d94d27dea7
commit 28c7d2557d

View file

@ -109,6 +109,8 @@ static TTTLocationFormatter *__locationFormatter;
[self.navigationController.navigationBar setTintColor:[UIColor darkGrayColor]];
self.tableView.rowHeight = 70.0f;
[self.locationManager startUpdatingLocation];
}
@ -145,10 +147,6 @@ static TTTLocationFormatter *__locationFormatter;
return [self.nearbySpots count];
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 70.0f;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";