Objective-C NS_OPTIONS与NS_ENUM的区别与格式NS_OPTIONSNS_ENUMNS_ENUM与NS_OPTIONS区别总结:
NS_OPTIONStypedef NS_OPTIONS(NSUInteger, UISwipeGestureRecognizerDirection) { UISwipeGestureRecognizerDirectionNone = 0, // 值为0 UISwipeGestureRecognizerDirectionRight = 1 << 0, // 值为2的0次方 UISwipeGestureRecognizerDirecti