Is there any function that does what NSLog does but without the new line at the end?
See Question&Answers more detail:osIs there any function that does what NSLog does but without the new line at the end?
See Question&Answers more detail:ossee this http://borkware.com/quickies/one?topic=NSString
excerpted from that page:
void LogIt (NSString *format, ...)
{
va_list args;
va_start (args, format);
NSString *string;
string = [[NSString alloc] initWithFormat: format arguments: args];
va_end (args);
printf ("%s
", [string UTF8String]);
[string release];
} // LogIt
just customize the printf to suit your needs