Update for more recent Xcode versions.
Remove ARCBridge.h
Use NS_ENUM and NS_OPTIONS.
Modernize the code.