I can\'t get my head around the syntax for multiple arguments in Objective-C. I have seen this question, but the answer hasn\'t helped me (yet).
Here is my code (act
You could use -[NSString initWithFormat:arguments:]:
- (void)log:(NSString *)text, ... { va_list args; va_start(args, text); NSString *log_msg = [[[NSString alloc] initWithFormat:text arguments:args] autorelease]; NSLog(@"%@", log_msg); }