Exposing UITextAutocorrectionType and initializing it to none.

Allows the ability to set textfield's UITextAutocorrectionType.
Are you saying checking for nil is not necessary here?