That is the one that makes problem.

when you read and write with NSMutableArray, you should use them as a property.

How to do that?

Try the following line.

@property (nonatomic, retain) NSMutableArray *dotArray;

That's all.
Posted by ParkPill 박필


뭔지 기억도 안난다;;  해결책은 아래와 같다.

NSMutableArray 읽고 쓸때 NSMutableArray *array; <- 요놈을 바로 쓰지 말고 @property 로 불러써 쓰면 해결된다.

@property (nonatomic, retain) NSMutableArray *dotArray;

Posted by ParkPill 박필