我是相当新的Objective-C和我无法理解的警告信息下面的代码块:Objective-C的警告
void PrintPathInfo() {
NSString *path = @"~";
NSString *message = @"My home folder is: ";
NSLog([message stringByAppendingString: [path stringByExpandingTildeInPath]]);
}
这是我收到的最后一行警告消息(致电NSLog):
warning: format not a string literal and no format arguments
有人可以澄清吗?这是我应该关注的警告信息吗?
谢谢。
谢谢 - 现在有道理。 – IUnknown 2009-09-14 04:15:25