&tag(); *目次 [#x398e510] #contents *基本情報 [#yee6408b] -NSArray(変更不可能な配列)か、NSMutableArray(変更可能な配列)を使う。 -NSMutableArrayは変更可能な配列。 *生成 [#b66f8993] NSMutableArray *values = [[NSMutableArray alloc] init]; *要素の追加 [#h7d8cb43] **オブジェクトの追加 [#jf4608b6] #pre{{ [values addObject:@"abc"]; }} **プリミティブ型の追加 [#v12ddad8] intなどは直接追加できない #pre{{ [values addObject:[NSNumber numberWithInt:123]]; }}