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])
本文共 276 字,大约阅读时间需要 1 分钟。
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])
转载于:https://www.cnblogs.com/grep/archive/2012/07/07/2580316.html