我想在使用快速枚举时得到当前对象的索引,即
for (MyClass *entry in savedArray) { // What is the index of |entry| in |savedArray|? }
cocoa-touch objective-c fast-enumeration
cocoa-touch ×1
fast-enumeration ×1
objective-c ×1