groue / GRMustache

Flexible and production-ready Mustache templates for MacOS Cocoa and iOS
http://mustache.github.com/
MIT License
1.44k stars 190 forks source link

va_list variant of variadic methods #3

Closed igoris closed 13 years ago

igoris commented 13 years ago

It would be great to have va_list versions of variadic methods with ellipsis. For example, there is

If we have some array of objects it is quite hard to pass them to this method. So it can be something like this:

groue commented 13 years ago

It's quite uncommon to expose va_list-based APIs. I'd rather expose an NSArray version of the method.

Yet, I don't want to answer too quickly. Would you mind describing your use case?

groue commented 13 years ago

OK. Maybe I should close this issue. Please feel free to reopen it when there's something worth mentioning.

igoris commented 13 years ago

Sorry, I wasn't able to answer... Yep, looks like you are right. There was problem in my architecture.

groue commented 13 years ago

OK. If you still feel like you miss some API, please setup a code snippet that we could examine together.