typedef NS_ENUM(NSInteger, TestStyle) {
KTest = 1, //test
};
//根据上面的枚举值,获取相应的字符串
NSString *GetStyle(TestStyle style) {
switch (style) {
case KTest:
return @"未开始";
default:
return @"";
}
typedef NS_ENUM(NSInteger, TestStyle) {
KTest = 1, //test
};
//根据上面的枚举值,获取相应的字符串
NSString *GetStyle(TestStyle style) {
switch (style) {
case KTest:
return @"未开始";
default:
return @"";
}