/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//this is the way of passing multiple params va_list va; //this will contain the list of parameters NSInteger length; //get all args, but last writen arg thats formatString. //string with format plus all arguments length = [ str length ]; //know the lenght of the string in characters [ str release ]; //relase the string return length; //return the amount of characters writen to the console }