Replace enumerateObjectsUsingBlock: with for loop