Possible to add another item to an existing enum type?

You can force new element to have the same type as the enum, but you can’t extend it in a subclass.
header file:

extern const UIModalTransitionStyle UIModalTransitionStyleCoverVerticalFlipped;

implementation file:

const UIModalTransitionStyle UIModalTransitionStyleCoverVerticalFlipped = 10;

Make sure to give some space in case the framework is extended, so that you don’t have conflicts. This is a bit of a hack, but it will get rid of compiler errors and warnings.

Leave a Comment