The initWithObjects: NSArray accepts an undefined list of arguments:
NSMutableArray *array = [[NSMutableArray alloc]initWithObjects:(id), ..., nil
How can I define my own method as follows?
- (void)CustomMethod:????? <= want to take infinite arguments { }
syntax objective-c arguments
Sj lim
source share