Fixed unrecognized selector error that would occur when using the text field in iOS 6.x .
Added .gitignore.