To define a custom type, the correct way is with typedef.
Try ...
typedef enum { Etype1, Etype2 } TMyType;
EDIT: Shortly after this question was asked and answered, Apple released a new way to do the listed data types. Below is a detailed article about this.
typedef NS_ENUM(NSInteger, TMyType) { Etype1, Etype2 };
Jeff wolski
source share