typedef NS_ENUM(NSInteger, TShirtSize) { TShirtSizeXS, TShirtSizeS, TShirtSizeM, TShirtSizeL, TShirtSizeXL};TShirtSize small = TShirtSizeS;TShirtSize large = TShirtSizeL;//比较遵循声明顺序bool isLarger = large > small;//isLarger is 1