【iOS】NSArray/NSMutableArray


 

  • NSMutableArray新增
    addObject
  • NSMutableArray 移除
    removeObject/removeObjectAtIndex
  • 排序
    (tbd)
  • 二維陣列用兩個 NSArray/NSMutableArray 來組成,參考
    http://stackoverflow.com/questions/3261329/how-to-create-a-2d-nsarray-or-nsmutablearray-in-objective-c
    http://stackoverflow.com/questions/2583710/how-to-simplify-my-code-2d-nsarray-in-objective-c
  • 承上,也可以用 NSArray/NSMutableArray 搭配 NSDictionary/NSMutableDictionary 來組成。
 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com