Fixed support for flipping UIViews
Changed type to NSUInteger to NSInteger, to match apple's spec
Fixed support for UILongPressGestureRecognizer on Mac OS X