-- (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
- UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero] autorelease];
- cell.text = [themesArray_ objectAtIndex:[indexPath row]];
- return cell;
+@property (readonly) PSListController *rootListController;
+
+- (void) setupRootListForSize:(CGSize)size;
+- (id) topViewController;
+@end
+
+@implementation WBRootController
+
+@synthesize rootListController = _rootListController;
+
+// < 3.2
+- (void) setupRootListForSize:(CGSize)size {
+ PSSpecifier *spec([[PSSpecifier alloc] init]);
+ [spec setTarget:self];
+ spec.name = @"WinterBoard";
+
+ _rootListController = [[$WBSettingsController alloc] initForContentSize:size];
+ _rootListController.rootController = self;
+ _rootListController.parentController = self;
+ [_rootListController viewWillBecomeVisible:spec];
+
+ [spec release];
+
+ [self pushController:_rootListController];