Skip to content

Commit

Permalink
Rounded navBar in PlainExmaple by default
Browse files Browse the repository at this point in the history
Also released roundedBackgroundColor in dealloc method in
PrettyNavigationBar.
  • Loading branch information
vicpenap committed Apr 30, 2012
1 parent f7f518d commit a869de8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions PrettyExample/PlainExample.m
Expand Up @@ -44,6 +44,7 @@ - (void) customizeNavBar {
navBar.gradientEndColor = [UIColor colorWithHex:0xAA0000]; navBar.gradientEndColor = [UIColor colorWithHex:0xAA0000];
navBar.bottomLineColor = [UIColor colorWithHex:0x990000]; navBar.bottomLineColor = [UIColor colorWithHex:0x990000];
navBar.tintColor = navBar.gradientEndColor; navBar.tintColor = navBar.gradientEndColor;
navBar.roundedCornerRadius = 8;
} }


#pragma mark - View lifecycle #pragma mark - View lifecycle
Expand Down
1 change: 1 addition & 0 deletions PrettyKit/PrettyNavigationBar.m
Expand Up @@ -49,6 +49,7 @@ - (void)dealloc {
self.gradientEndColor = nil; self.gradientEndColor = nil;
self.topLineColor = nil; self.topLineColor = nil;
self.bottomLineColor = nil; self.bottomLineColor = nil;
self.roundedCornerColor = nil;


[super dealloc]; [super dealloc];
} }
Expand Down

0 comments on commit a869de8

Please sign in to comment.