cocoaTouch/FortsViewController.m
changeset 3357 3836a31879e7
parent 3352 ac5d14a35482
child 3374 0d522416d97f
--- a/cocoaTouch/FortsViewController.m	Sun Apr 18 23:19:15 2010 +0000
+++ b/cocoaTouch/FortsViewController.m	Mon Apr 19 01:39:55 2010 +0000
@@ -52,6 +52,9 @@
     }
     self.fortSprites = spriteArray;
     [spriteArray release];
+    
+    // statically set row height instead of using delegate method for performance reasons
+    self.tableView.rowHeight = 200;
 }
 
 
@@ -174,9 +177,6 @@
     [self.navigationController popViewControllerAnimated:YES];
 }
 
--(CGFloat) tableView:(UITableView *)atableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
-    return 200;
-}
 
 #pragma mark -
 #pragma mark Memory management