Comment créer un NSString à partir d'une chaîne de format comme @“xxx=%@, yyy=%@” et un NSArray des objets?

Est-il possible de créer un nouveau
NSString à partir d'une chaîne de format comme @"xxx=%@, yyy=%@" et un NSArray des objets?

Dans la classe NSSTring il existe de nombreuses méthodes comme:

- (id)initWithFormat:(NSString *)format arguments:(va_list)argList
- (id)initWithFormat:(NSString *)format locale:(id)locale arguments:(va_list)argList
+ (id)stringWithFormat:(NSString *)format, ...

mais non d'entre eux prend un NSArray comme un argument, et je ne peux pas trouver un moyen de créer une va_list à partir d'un NSArray...

  • Utilisé depuis que cette question vraiment se rapporte à de Cacao, n'a pas d'iPhone.