Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Objective-C のマクロで配列を定義する可能性はありますか?
はい、マクロで配列を定義できます。例えば
#define MY_ARRAY [NSMutableArray arrayWithObjects:someObj1, someObj2, nil]