All Projects → podkovyrin → Uiviewcontroller Keyboardadditions

podkovyrin / Uiviewcontroller Keyboardadditions

Licence: mit
Tiny UIViewController category that provides handy way for keyboard handling logic.

Projects that are alternatives of or similar to Uiviewcontroller Keyboardadditions

Awesome Mechanical Keyboard
⌨️ A curated list of Open Source Mechanical Keyboard resources.
Stars: ✭ 1,294 (+1168.63%)
Mutual labels:  hacktoberfest, keyboard
React Native Keyboard Manager
⚛ Library to prevent issues of keyboard sliding up and cover inputs on React-Native iOS projects.
Stars: ✭ 534 (+423.53%)
Mutual labels:  hacktoberfest, keyboard
Elasticsearch Analysis Openkoreantext
Korean analysis plugin that integrates open-korean-text module into elasticsearch.
Stars: ✭ 101 (-0.98%)
Mutual labels:  hacktoberfest
Swagger Combine
Combines multiple Swagger schemas into one dereferenced schema.
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest
Nothing Private
Do you think you are safe using private browsing or incognito mode?. 😄 👿 This will prove that you're wrong.
Stars: ✭ 1,375 (+1248.04%)
Mutual labels:  hacktoberfest
Starter Plugin
A lean WordPress plugin boilerplate, ready for your next project.
Stars: ✭ 101 (-0.98%)
Mutual labels:  hacktoberfest
React Ladies
We're a group of women and non-binary ReactJS enthusiasts in New York City (and beyond).
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest
Yii2 Starter Kit
Yii2 Starter Kit
Stars: ✭ 1,372 (+1245.1%)
Mutual labels:  hacktoberfest
Php Composter
Git Hooks Management through Composer
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest
Insideheartz Whatsapp Bot
A multipurpose whatsapp bot buillt on node.js
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest
Tabfern
Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest
Os Autoinst
OS-level test automation
Stars: ✭ 99 (-2.94%)
Mutual labels:  hacktoberfest
Lhskeyboardadjusting
An easy-to-use Objective-C protocol that automatically resizes / adjusts views when a keyboard appears on iOS.
Stars: ✭ 101 (-0.98%)
Mutual labels:  keyboard
Lychee
The most complete and powerful data-binding library and persistence infra for Kotlin 1.3, Android & Splitties Views DSL, JavaFX & TornadoFX, JSON, JDBC & SQLite, SharedPreferences.
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest
Awesome Openminds Team
A Repository for students, geeks, programmers, and designers
Stars: ✭ 101 (-0.98%)
Mutual labels:  hacktoberfest
Ex gram
Telegram Bot API low level API and framework
Stars: ✭ 103 (+0.98%)
Mutual labels:  hacktoberfest
Matchimals.fun
🦁 🃏 📱 An animal matching puzzle card game– built with turn-based game engine boardgame.io and React-Native + React-Native-Web
Stars: ✭ 101 (-0.98%)
Mutual labels:  hacktoberfest
Runit
Development repository for the Chef Runit Cookbook
Stars: ✭ 101 (-0.98%)
Mutual labels:  hacktoberfest
River pod
A simple way to access state while robust and testable.
Stars: ✭ 1,366 (+1239.22%)
Mutual labels:  hacktoberfest
Generators
Laravel File Generators with config and publishable stubs
Stars: ✭ 102 (+0%)
Mutual labels:  hacktoberfest

UIViewController-KeyboardAdditions

Version License Platform

Swift Version

For Swift compatible version check out Keyboardy

Description

UIViewController+KeyboardAdditions category simplifies keyboard handling logic by extending UIViewController class with several simple methods. Supports both AutoLayout and frame-based animations.

UIViewController-KeyboardAdditions Demo GIF

Usage

  1. Import category #import <UIViewController-KeyboardAdditions/UIViewController+KeyboardAdditions.h>

  2. Register to keyboard notifications in -viewWillAppear::

[self ka_startObservingKeyboardNotifications];
  1. Unregister from notifications in -viewWillDisappear::
[self ka_stopObservingKeyboardNotifications];
  1. Perform any layout with same animation options as keybord:
- (void)ka_keyboardShowOrHideAnimationWithHeight:(CGFloat)height
                               animationDuration:(NSTimeInterval)animationDuration
                                  animationCurve:(UIViewAnimationCurve)animationCurve {

    self.containerViewBottomConstraint.constant = height;
    [self.view layoutIfNeeded];
}

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

UIViewController-KeyboardAdditions is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "UIViewController-KeyboardAdditions"

Author

Andrew Podkovyrin, [email protected]

License

UIViewController-KeyboardAdditions is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].