iamthewalr.us
iamthewalr.us : NS_ENUM and NS_OPTIONS
http://iamthewalr.us/blog/2012/11/ns_enum-and-ns_options
NS ENUM and NS OPTIONS. Tuesday, November 27th, 2012. If you, like most programmers, are curious and detail-oriented you may have noticed that this:. Typedef enum { UIViewAnimationTransitionNone, UIViewAnimationTransitionFlipFromLeft, UIViewAnimationTransitionFlipFromRight, UIViewAnimationTransitionCurlUp, UIViewAnimationTransitionCurlDown, } UIViewAnimationTransition; enum { UIViewAutoresizingNone = 0, UIViewAutoresizingFlexibleLeftMargin = 1 0, UIViewAutoresizingFlexibleWidth = 1 1, UIViewAutoresizingF...