开发者

Fast enumeration ordering

Do

for (id object in array) {
    // do something with objec开发者_开发问答t
}

guarantee to return the objects in the order they are put in the array?


It's just shorthand for an enumerator. So yes for NSArrays, no for NSSets and NSDictionarys

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜