我想将
间接地说,我想要一个二维数组,也就是
NSMutableArray
中的addObject
添加到另一个NSMutableArray
中,那么我该如何在Swift中实现呢?同时我也想检索它,因为我现在正在学习Swift。间接地说,我想要一个二维数组,也就是
NSMutableArray
的 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.