Fast enumerate

The resulting syntax is more aesthetic and better reflects the programmer's intent.

you can use the reverse NSEnumerator object itself for Fast Enumeration.

for (id object in [someArray reverseObjectEnumerator])

 

 

posted on 2012-07-07 09:05  grep  阅读(154)  评论(0)    收藏  举报