Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

va_list variant of variadic methods #3

Closed
igoris opened this issue Apr 14, 2011 · 4 comments
Closed

va_list variant of variadic methods #3

igoris opened this issue Apr 14, 2011 · 4 comments

Comments

@igoris
Copy link

igoris commented Apr 14, 2011

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

  • (NSString *)renderObjects:(id)object, ...
    method.

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

  • (NSString *)renderObject:(id)object additionalObjects:(va_list)objects
@groue
Copy link
Owner

groue commented Apr 14, 2011

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
Copy link
Owner

groue commented Apr 22, 2011

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

@groue groue closed this as completed Apr 22, 2011
@igoris
Copy link
Author

igoris commented Jun 10, 2011

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

@groue
Copy link
Owner

groue commented Jun 10, 2011

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

@groue groue added the won't fix label Mar 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants