Skip to content
Browse files

Rounded navBar in PlainExmaple by default

Also released roundedBackgroundColor in dealloc method in
PrettyNavigationBar.
  • Loading branch information...
1 parent f7f518d commit a869de8e06861aa156eede3f51f60b2de6efc42f @vicpenap committed Apr 30, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 PrettyExample/PlainExample.m
  2. +1 −0 PrettyKit/PrettyNavigationBar.m
View
1 PrettyExample/PlainExample.m
@@ -44,6 +44,7 @@ - (void) customizeNavBar {
navBar.gradientEndColor = [UIColor colorWithHex:0xAA0000];
navBar.bottomLineColor = [UIColor colorWithHex:0x990000];
navBar.tintColor = navBar.gradientEndColor;
+ navBar.roundedCornerRadius = 8;
}
#pragma mark - View lifecycle
View
1 PrettyKit/PrettyNavigationBar.m
@@ -49,6 +49,7 @@ - (void)dealloc {
self.gradientEndColor = nil;
self.topLineColor = nil;
self.bottomLineColor = nil;
+ self.roundedCornerColor = nil;
[super dealloc];
}

0 comments on commit a869de8

Please sign in to comment.
Something went wrong with that request. Please try again.