nonatomic;; 

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 박필