Use NS_ENUM for enumerated types.

This makes things easier when using Swift, because you can do things like this:

```swift
hud.mode = .Indeterminate
```