OC之id

简介:

id是万能的指针,可以指向\操作任何对象,例如:

Person *p = [Person new];

相当于:

id p = [Person new];

注意id和p之间不要再加*了,id中默认就带*了。

目录
相关文章
Plugin [id: ‘com.github.kt3k.coveralls‘, version: ‘2.8.2‘] was not found in any of the following sou
Plugin [id: ‘com.github.kt3k.coveralls‘, version: ‘2.8.2‘] was not found in any of the following sou
130 0