diff options
author | matt handler <matt.handler@gmail.com> | 2011-04-25 02:21:36 -0400 |
---|---|---|
committer | matt handler <matt.handler@gmail.com> | 2011-04-25 02:21:36 -0400 |
commit | ab0c357216564967ccbb900923ead3830a13752b (patch) | |
tree | 1b3aa223efb245d47b9c6ba785d2db4e911fd62a /Classes/TopicsViewController.m | |
parent | 0c7a7586d3c2ab22adb15f032b0a69c962aaeeaf (diff) | |
download | piccast-app-ab0c357216564967ccbb900923ead3830a13752b.tar.gz piccast-app-ab0c357216564967ccbb900923ead3830a13752b.zip |
added json stuff, sources are loading but not connected to any sensical database or nothing... coming together. next hard bit is going to be the animation when things update
Diffstat (limited to 'Classes/TopicsViewController.m')
-rw-r--r-- | Classes/TopicsViewController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Classes/TopicsViewController.m b/Classes/TopicsViewController.m index d9c2f60..67c8490 100644 --- a/Classes/TopicsViewController.m +++ b/Classes/TopicsViewController.m @@ -30,6 +30,7 @@ [super viewDidLoad]; NSLog(@"viewDidLoad"); self.tableView.rowHeight = 100; + self.view.backgroundColor = [UIColor viewFlipsideBackgroundColor]; //UIBarButtonItem *doneItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(returnToParserChoices)] autorelease]; //self.navigationItem.rightBarButtonItem = doneItem; @@ -323,7 +324,7 @@ // [self.navigationController pushViewController:picDumpViewController animated:YES]; // photoViewController = [[[PhotoViewController alloc] init] autorelease]; - photoViewController.topic = [topics objectAtIndex:indexPath.row]; + photoViewController.topic = [[tableDictionary objectForIndex:indexPath.section] objectAtIndex:indexPath.row]; [self.navigationController pushViewController:photoViewController animated:YES]; } |