This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (id)initWithCancelButtonTitle:(NSString *)cancelTitle otherButtonTitles:(NSString *)otherButtonTitles, ... { | |
| if (self = [super init]) { | |
| NSMutableArray *buttonTitles = [[NSMutableArray alloc] init]; | |
| BRYEachArgumentBlock eachArgumentBlock = ^(NSString *title) { | |
| [buttonTitles addObject:title]; | |
| }; | |
| BRYVarArgs(eachArgumentBlock, otherButtonTitles); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (UIStatusBarStyle) preferredStatusBarStyle { | |
| // UIStatusBarStyleLightContent is only defined in the iOS7 SDK | |
| #if __IPHONE_OS_MAX_ALLOWED 70000 | |
| return UIStatusBarStyleLightContent; | |
| #else | |
| return UIStatusBarStyleBlackOpaque; | |
| #endif | |
| } | |
| #endif |
NewerOlder