Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Objective-C 的新手,我正在努力了解它是如何工作的。我用指针得到了基本的想法,但这件事让我很难过:
-(XYPoint *) origin;
当他们在括号内的类名之后添加 * 是什么意思?
谢谢。
这意味着该方法origin将返回一个指向XYPoint.
origin
XYPoint