similar to printf/ vprintf, the base would declare:
- (void)someMethod:(id)arguments, ... ;
a subclass will be implemented:
- (void)vsomeMethod:(id)arguments vaList:(va_list)vaList;
then the base will simply call vsomeMethod:vaList:in its implementation someMethod:vaList:.
source
share