Use new enum declaration.

The new(er) NS_ENUM declaration makes dealing with enumerated values in Swift really nice.
Merge pull request #332 from calebd/master

Use new enum declaration.