Skip to content

This is a class I made that wraps up all of the extra code needed to hide and show your keyboard

License

Notifications You must be signed in to change notification settings

codebeaulieu/KeyboardViewController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KeyboardViewController

This is a class I wrote that wraps up all of the extra code necessary to hide and show your keyboard.

Instructions

  1. Simply add the KeyboardViewController class to your project and swap out the "UIViewController" subclass for the "KeyboardViewController" subclass in any view that has text input fields.
  2. Set your textField and textView delegates in your viewDidLoad like this:
setDelegates(nameTextField, estimatedPriceTextField, dateTextField, descriptionTextView,  historyTextView)

About

This is a class I made that wraps up all of the extra code needed to hide and show your keyboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages