0
可能重复:
What's the difference between a string constant and a string literal?定义字符串文字?
任何人都可以证实这一点对我来说...
NSString *testString = @"Betty";
通过我想这行声明的NSString指针的方式(* testString)指向字符串@“Betty”。这个声明不需要一个分配,也不需要被释放?我只是想确保我走在正确的轨道上。
-gary-
完美,谢谢... – fuzzygoat 2009-09-10 15:35:14