You cannot enumerate as such, as these are constant values as opposed to elements in a collection, however if the enum
follows a pattern without gaps, then you can generate all the numerical values of the enum. Yours does, so:
for (unsigned i = 0; i < 5; i++) {
NSLog(@"value=%u", 1 << i);
}
In order to generate the names, you need a look-up table.