As Walzar Wang says:
It’s (CCMutableArray) migrated to CCArray.CCArray only accept CCObject elements.
So how about the iterators? They were for CCMutableArray, and I don’t find them for CCArray. (in reference too)
No iterators now. Please use loop by index.
Please use CCARRAY_FOREACH to loop the array.You can refer tests for the usage of it.