change misleading "tintColor" property in BITHockeyBaseManager

This commit is contained in:
Andreas Linde 2013-08-16 18:11:15 +02:00
parent 9b8858e31a
commit 5de53de18b
2 changed files with 6 additions and 6 deletions

View File

@ -59,20 +59,20 @@
The UIBarStyle of the update user interface navigation bar.
Default is UIBarStyleBlackOpaque
@see tintColor
@see navigationBarTintColor
*/
@property (nonatomic, assign) UIBarStyle barStyle;
/**
The tint color of the update user interface navigation bar.
The navigationbar tint color of the update user interface navigation bar.
The tintColor is used by default, you can either overwrite it `tintColor`
The navigationBarTintColor is used by default, you can either overwrite it `navigationBarTintColor`
or define another `barStyle` instead.
Default is RGB(25, 25, 25)
@see barStyle
*/
@property (nonatomic, strong) UIColor *tintColor;
@property (nonatomic, strong) UIColor *navigationBarTintColor;
/**
The UIModalPresentationStyle for showing the update user interface when invoked

View File

@ -57,7 +57,7 @@
_serverURL = BITHOCKEYSDK_URL;
_barStyle = UIBarStyleBlackOpaque;
self.tintColor = BIT_RGBCOLOR(25, 25, 25);
self.navigationBarTintColor = BIT_RGBCOLOR(25, 25, 25);
_modalPresentationStyle = UIModalPresentationFormSheet;
NSLocale *enUSPOSIXLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"];
@ -185,7 +185,7 @@
_navController = [[UINavigationController alloc] initWithRootViewController:viewController];
_navController.navigationBar.barStyle = _barStyle;
_navController.navigationBar.tintColor = _tintColor;
_navController.navigationBar.tintColor = _navigationBarTintColor;
_navController.modalPresentationStyle = _modalPresentationStyle;
if (parentViewController) {