Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kgn/kgkeyboardchangemanager
A block-based wrapper around the hairy world of iOS keyboard notifications and frames
https://github.com/kgn/kgkeyboardchangemanager
Last synced: 9 days ago
JSON representation
A block-based wrapper around the hairy world of iOS keyboard notifications and frames
- Host: GitHub
- URL: https://github.com/kgn/kgkeyboardchangemanager
- Owner: kgn
- License: mit
- Created: 2013-01-16T23:23:50.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-13T23:12:56.000Z (almost 11 years ago)
- Last Synced: 2024-10-31T14:50:34.611Z (16 days ago)
- Language: Objective-C
- Homepage:
- Size: 168 KB
- Stars: 93
- Watchers: 6
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
Pushing content out of the way of the keyboard can be pretty troublesome on iOS. The frame you get is in portrait screen space, all the notifications fire when the device rotates, and you have to assemble your own animation block if you want to match the keyboards animation.
KGKeyboardChangeManager handles all of this for you with a couple simple observer blocks.
Be sure to check out the sample project for an example of how to match a view to the frame of the keyboard as it shows, hides, and rotates.
# About
* Supports iOS 5+
* By [David Keegan](http://davidkeegan.com)
* MIT License