forum

Home / DeveloperSection / Forums / AddObject as NSMutableArray in swift

AddObject as NSMutableArray in swift

Anonymous User 10685 18-Oct-2014
I want to addObject of NSMutableArray into NSMutableArray so how can I achieve this in swift. and also retrieve it so please help me because right now I'm learning swift.

Indirectly say that I want 2D array means NSMutableArray of NSMutableArray.

//The below 2 lines iterative!
var dict:NSMutableDictionary? = NSMutableDictionary();
 linePointsArray!.addObject(dict!);

// and below 2 line is execute after complete the above iteration
 arrLine!.addObject(linePointsArray!);
 linePointArray!.removeAllObject();

//after that the above whole process is done iterative.

Updated on 18-Oct-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By