Bro*_*die 1 arrays iphone properties objective-c
我如何访问存储在数组中的对象的属性?
就像是:
[myArray objectAtIndex:0].intProperty = 12345;
Jac*_*kin 6
您需要先抛出对象.
((MyObjectType *) [myArray objectAtIndex:0]).intProperty = 12345;
归档时间:
15 年,4 月 前
查看次数:
1093 次
最近记录:
12 年,8 月 前