Suppose I am trying to print out a string like this:
NSLog(@"*** DOWNLOAD START ***\n%@\n*** DOWNLOAD END ***", bufString);
bufString is an NSString. What could bufString contain to cause the output to get truncated after its first character? My guess is that it has something to do with newline representation being translated to a string termination character.
The complete readout from the log of this statement:
2012-08-02 12:20:02.595 MyApp[18863:710f] *** DOWNLOAD START ***
{
The result of [bufString length] is 15914. The data it is trying to display is a multi-line JSON.
What might I do to print out the entire string?