Re: va_list customize strings and objects.
Re: va_list customize strings and objects.
- Subject: Re: va_list customize strings and objects.
- From: Michael Ash <email@hidden>
- Date: Sat, 14 Aug 2010 13:33:25 -0400
On Sat, Aug 14, 2010 at 1:10 PM, Mr. Gecko <email@hidden> wrote:
> I may as well just write my own stringWithFormat:arguments: to do what I need, it'll probably be the best way if I can't do the things in default.
That's probably your best bet. You can probably find the source to an
implementation of vasprintf and modify it to take %@, with the special
semantics you desire. You could probably find Apple's version on
opensource.apple.com and use that. Complying with the APSL doesn't
look too onerous.
Trying to comply with *all* of the various modifiers allowed by printf
doesn't seem too practical, especially when you get into esoteric
stuff like length modifiers and argument position indicators.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden