diff options
Diffstat (limited to 'Juick/RevealPanelViewController.m')
-rw-r--r-- | Juick/RevealPanelViewController.m | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Juick/RevealPanelViewController.m b/Juick/RevealPanelViewController.m index 67f1a08..7053832 100644 --- a/Juick/RevealPanelViewController.m +++ b/Juick/RevealPanelViewController.m @@ -8,7 +8,7 @@ #import "RevealPanelViewController.h" -#import "Colors.h" +#import "ColorsAndButtons.h" @interface RevealPanelViewController () @@ -28,8 +28,11 @@ - (void)viewDidLoad { [super viewDidLoad]; - self.title = @"Juick"; - [self.view setBackgroundColor:[Colors mainBackground]]; + [self.navigationController.navigationBar.topItem + setTitleView:[[UIImageView alloc] initWithImage:[ColorsAndButtons logo]]]; + [self.view setBackgroundColor:[ColorsAndButtons navbarBackground]]; + self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone; + self.tableView.separatorColor =[UIColor blackColor]; } - (void)didReceiveMemoryWarning @@ -53,14 +56,18 @@ NSInteger row = indexPath.row; if (cell == nil) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier]; - cell.textLabel.textColor = [Colors linkColor]; + [cell setBackgroundColor:[ColorsAndButtons navbarBackground]]; + cell.textLabel.textColor = [ColorsAndButtons navbarFont]; } if (row == 0) { cell.textLabel.text = @"My feed"; + [cell.imageView setImage:[ColorsAndButtons homeImage]]; + } else if (row == 1) { cell.textLabel.text = @"Popular"; } else if (row == 2) { cell.textLabel.text = @"Discover"; + [cell.imageView setImage:[ColorsAndButtons discoverImage]]; } else if (row == 3) { cell.textLabel.text = @"Images"; } |