How can i make method with parameter is unlimited array like this :
UIActionSheet *actionSheet = [[[UIActionSheet alloc]
initWithTitle:@"Test Title"
delegate:self
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:@"Destructive"
otherButtonTitles: @"abc", @"xyz",
nil] autorelease];
In above code, parameter otherButtonTitles can have unlimit number of NSString like “abc”, “xyz”,..
Can do this with other type of parameter?
Thanks in advance!.
You can do it with any type of object.
In the header
Implementation