これは他のプログラミング言語でも可能であることを知っています。次の配置があるとします。
- (void) myMethod:(NSString*)variables, ... {
// Handle business here.
}
- (void) anotherMethod:(NSString*)variables, ... {
// We want to pass these variable arguments for handling
[self myMethod:variables, ...]; // Do not pass GO
}
// Start the party:
[self anotherMethod:@"arg1", @"arg2", @"arg3", @"arg4", nil];
これを ObjC で動作させるための秘訣は何ですか?