TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Bryan Irace.
A nicer syntax for enumerating variable arguments.
- (id)initWithCancelButtonTitle:(NSString *)cancelTitle otherButtonTitles:(NSString *)otherButtonTitles, ... {
if (self = [super init]) {
NSMutableArray *buttonTitles = [[NSMutableArray alloc] init];
BRYVarArgs(^(NSString *title) {
[buttonTitles addObject:title];
}, otherButtonTitles);
}
return self;
}
Available for use under the MIT license: http://bryan.mit-license.org