-(void)setTire:(Tire*)tireatIndex:(int)index{[tiresreplaceObjectAtIndex:indexwithObject:tire];}//setTire:atIndex:-(Tire*)tireAtIndex:(int)index{Tire*tire;tire=[tiresobjectAtIndex:index];return(tire);}//tireAtIndex:这是objective-c基础教程里面的代码我就是不理解这段什么意思尤其是(Tire*)tireAtIndex:(int)index这一块求指教!谢谢!
ITMISS
有只小跳蛙
相关分类