Placement of the asterisk in Objective-C

前端 未结 14 1068
鱼传尺愫
鱼传尺愫 2020-11-27 13:34

I have just begun learning Objective-C, coming from a VB .Net and C# .Net background. I understand pointer usage, but in Objective-C examples I see the asterisk placed in s

14条回答
  •  [愿得一人]
    2020-11-27 14:31

    the * works the same way as it does in standard C.

    this is a nice primer on putting the * in different places and what it does: http://boredzo.org/pointers/

提交回复
热议问题