objective-c array 怎么创

2025-05-10 16:23:44
推荐回答(1个)
回答1:

如果是C语言array就不说啦
id a, b, c, d;
NSArray *arr = @[a, b, c, d];
//嗯,就是这样简单