Updated with new NS_ENUM and optional delegate checking.
Merge pull request #12 from bennyguitar/master

Updated with new NS_ENUM and optional delegate checking.