mirror of
https://github.com/textmate/textmate.git
synced 2026-02-15 00:45:02 -05:00
14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
#import "NSAlert Additions.h"
|
|
|
|
@implementation NSAlert (Other)
|
|
- (void)addButtons:(NSString*)firstTitle, ...
|
|
{
|
|
va_list ap;
|
|
va_start(ap, firstTitle);
|
|
do {
|
|
[self addButtonWithTitle:firstTitle];
|
|
} while(firstTitle = va_arg(ap, NSString*));
|
|
va_end(ap);
|
|
}
|
|
@end
|