Latest | 0.1.0 |
---|---|
Homepage | https://github.com/yanke-guo/ACKeyboardObserver |
License | MIT |
Platforms | ios 7.0, requires ARC |
Authors |
Usage
To run the example project, clone the repo, and run pod install
from the Example directory first.
- Implement
ACKeyboardObserverDelegate
in view controller.
- (void)keyboardWillEmitEvent:(ACKeyboardEvent)event withChange:(ACKeyboardChange)change;
- (void)keyboardDidEmitEvent:(ACKeyboardEvent)event withChange:(ACKeyboardChange)change;
- Initialize a instance.
self.keyboardObserver = [ACKeyboardObserver observerWithDelegate:self];
[self.keyboardObserver start];
- Use
ACKeyboardFastAnimate
to create a keyboard-related animation in delegate methods.
Installation
ACKeyboardObserver is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "ACKeyboardObserver"
Author
YANKE Guo, [email protected]
License
ACKeyboardObserver is available under the MIT license. See the LICENSE file for more info.
Latest podspec
{ "name": "ACKeyboardObserver", "version": "0.1.0", "summary": "A better way to handle keyboard events", "description": " * Convert six NSNotifications into a delegate with two methods. n * Provide a quick method to perform keyboard related animation.n * Compatible with Swiftn", "homepage": "https://github.com/yanke-guo/ACKeyboardObserver", "license": "MIT", "authors": { "YANKE Guo": "[email protected]" }, "source": { "git": "https://github.com/yanke-guo/ACKeyboardObserver.git", "tag": "0.1.0" }, "platforms": { "ios": "7.0" }, "requires_arc": true, "source_files": "Pod/Classes/*.{h,m}" }
Wed, 02 Mar 2016 08:26:02 +0000