What\'s the correct way to print an NSString in Objective-C? A lot of examples use NSLog(), but according to the documentation:
NSLog is a FoundationK
C string (UTF8String) is a pointer to a structure inside the string object.
NSString *str = @"Hello, World."; printf("%s\n", [str UTF8String]);