Latest 0.1
Homepage https://github.com/openboy2012/DDKeyboardObserver
License MIT
Platforms ios 6.0, requires ARC
Authors

a fast kit handle the keyboard cover issue

Effects


Installation

Version Platform
DDKeyboardObserver is available through CocoaPods, to install
it simply add the following line to your Podfile:

pod 'DDKeyboardObserver'

Alternatively, you can just drag the files from DDKeyboardObserver/KeyboardObserver into your own project.

Usage

import UIView+DDKeyboardObserver.h in your project

for example:


- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    self.carryView.contentSize = CGSizeMake(0, self.carryView.frame.size.height);

    // handle the toolView;
    [self.toolView addKeyboardObserver];

    // also handle the carry view;
    [self.carryView addKeyboardObserver];
}

you can see more infomation in the example project.

Requirements

  • Xcode 6.3
  • iOS 6.0

Author

DeJohn Dong, [email protected]

License

DDKeyboardObserver is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DDKeyboardObserver",
    "version": "0.1",
    "license": "MIT",
    "summary": "a fast kit handle the keyboard cover issue",
    "homepage": "https://github.com/openboy2012/DDKeyboardObserver",
    "authors": {
        "DeJohn Dong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/openboy2012/DDKeyboardObserver.git",
        "tag": "0.1"
    },
    "platforms": {
        "ios": "6.0"
    },
    "public_header_files": "DDKeyboardObserver/KeyboardObserver/*.h",
    "source_files": "DDKeyboardObserver/KeyboardObserver/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This