diff options
author | Vitaly Takmazov | 2013-11-05 03:23:31 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-11-05 03:23:31 +0400 |
commit | a795a089148f73389f1e35430ed94a9aec9156e7 (patch) | |
tree | 9540a86a5baba5aec5c2c649eddeb0b82c109d7e /Juick/RevealPanelViewController.m | |
parent | 633ae14fa1448330e58b12160dd0be35f78c1d57 (diff) |
colors and buttons
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"; } |