use NS_ENUM to help type checking and make Swift bridging work
Merge pull request #130 from adly-holler/master

Use NS_ENUM to help type checking and make Swift bridging work