2011년 8월 16일 화요일

[IPhone Dev] NSMutableArray Bad Access -while NSMutableArray reading

nonatomic


That's the one we have to know.


Im not describe what it is because that is not you wanna know :p


So i just get to the point.


if you get bad access error when you read a NSMutableArray, you may wanna use the array in @property way.


make it as a property then use like this


self.dotArray




@property (nonatomicretainNSMutableArray *dotArray;
  



Mayday Timeattack - Free on Appstore


댓글 없음:

댓글 쓰기