配列を初期化する - iOS開発メモ
ドキュメント
iOS開発メモ
配列を初期化する
サンプル
リテラル構文で書くのが簡単です。
NSArray *items = @[@"one", @"two", @"three"];
関連項目
空の配列を作成する
可変配列を初期化する
可変配列から配列を作成する