I noticed some array methods like initWithObjects or arrayWithObjects allow you to keep adding arguments until you pass a null argument. So I'm wondering how I would make something similar to that. I looked at the header file in which arrayWithObjects was declared and saw this:
	
	
	
		
I was wondering if I could do the same with my own methods and if so, how do I call the other arguments?
	
		
			
		
		
	
				
			
		Code:
	
	- (void)arrayWithObjects:(id *)firstObject, ... NS_REQUIRES_NIL_TERMINATION;I was wondering if I could do the same with my own methods and if so, how do I call the other arguments?
 
 
		