【发布时间】:2011-06-30 20:34:34
【问题描述】:
可能的重复:
What's your preferred pointer declaration style, and why?
Placement of the asterisk in Objective-C
有什么区别
NSString* foo = @"I'm a string";
和
NSString *foo = @"I'm a string";
我一直使用后一种方式,但不确定是否真的有区别。
谢谢!
【问题讨论】:
标签: objective-c pointers