The NSString method initWithFormat:arguments: takes a va_list as an argument. I can’t figure out when it would be used (or even how to use it). Why would Apple add such a method when the regular initWithFormat: is much more user-friendly?
The NSString method initWithFormat:arguments: takes a va_list as an argument. I can’t figure out
Share
You can’t pass a dynamic list of format arguments to
-initWithFormat:. For example, if you wanted to implement-stringByAppendingFormat:yourself without-initWithFormat:arguments:, you’d have a job of it. With theva_listversion, you could do it: