Do
for (id object in array) {
// do something with object
}
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With