I am fairly new to objective-c and am having trouble understanding the warning message for the following block of code:
void PrintPathInfo() {
NSString *path = @"~";
NSString *message = @"My home folder is: ";
NSLog([message stringByAppendingString: [path stringByExpandingTildeInPath]]);
}
This is the warning message I am getting for the last line (call to NSLog):
warning: format not a string literal and no format arguments
Can someone please clarify? Is this a warning message I should be concerned about?
Thanks.