Asterisk in parenthesis in Objective-C… What does it mean?

前端 未结 1 2002
猫巷女王i
猫巷女王i 2020-12-07 03:46

Just a quick question from an Objective-C beginner: what does the asterisk in the parenthesis mean in the following sample code? Is it a pointer? Thanks in advance.

相关标签:
1条回答
  • 2020-12-07 04:43

    You are correct. The * means that description returns a pointer to an NSString object.

    0 讨论(0)
提交回复
热议问题