Change enum declaration so it works better in Swift.
Merge pull request #50 from calebd/master

Change enum declaration so it works better in Swift.