Fix swift error, use rawValue instead.

'UITextAutocapitalizationType' does not have a member named 'toRaw'
Merge pull request #208 from joepestro/patch-1

Fix swift error, use rawValue instead.