开发者

Question about syntax when creating objects/variables

I'm wondering if there really is a difference between these two lines for example:

NSNumber* myNumber = ...... NSNumber *myNumber = ......

I ask, because I'm very new and have been readi开发者_运维百科ng a book on it, and it seems the author started off putting the asterisk in front of the object's name, but then later on started put it after the data type.

Is it just a format issue?


NO

And you can even use:

NSNumber * myNumber = 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜