1.
typedefenum{
ENUM_ViewController_ActionTypeStart=0,//开始
ENUM_ViewController_ActionTypeStop,//停止
ENUM_ViewController_ActionTypePause//暂停
} ENUM_ViewController_ActionType;
2.
typedef NS_OPTIONS(NSUInteger, ActionType) {
ActionTypeUp =1<<0,// 1
ActionTypeDown =1<<1,// 2
ActionTypeRight =1<<2,// 4
ActionTypeLeft =1<<3,// 8
};
推荐使用第二种