Latest 0.1.2
Homepage https://github.com/ZhipingYang/UUKeyboardInputView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

UUKeyboardInputView

It helps some viewes,like button、cell、segment, which cann’t respond those inputView as textField or texeView them do.

Simple application

Flipboard playing multiple GIFs

apply with scrollview

Flipboard playing multiple GIFs

API

+ (void)showBlock:(UUInputAccessoryBlock _Nullable)block;

+ (void)showKeyboardType:(UIKeyboardType)type
                   Block:(UUInputAccessoryBlock _Nullable)block;

+ (void)showKeyboardType:(UIKeyboardType)type
                 content:(NSString * _Nullable)content
                   Block:(UUInputAccessoryBlock _Nullable)block;

// more flexible config
+ (void)showKeyboardConfige:(UUInputAccessoryConfige _Nullable)confige
                      block:(UUInputAccessoryBlock _Nullable)block;

UIKeyboardType

  • UIKeyboardTypeDefault,
  • UIKeyboardTypeNumbersAndPunctuation,
  • UIKeyboardTypeNumberPad,
  • UIKeyboardTypeNamePhonePad …

Usage

    [UUInputAccessoryView showKeyboardConfige:^(UUInputConfiger * _Nonnull configer) {
        configer.keyboardType = UIKeyboardTypeNumberPad;
        configer.content = @"content";
        configer.backgroundColor = [UIColor colorWithWhite:0 alpha:0.5];

    }block:^(NSString * _Nonnull contentStr) {
        // code
        if (contentStr.length == 0) return ;

    }];

Installation

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

pod "UUKeyboardInputView"

Author

XcodeYang, [email protected]

License

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

Latest podspec

{
    "name": "UUKeyboardInputView",
    "summary": "assist custom views respond keyboard as inputview liked",
    "description": "UUKeyboardInputView helps some views,like buttonu3001cellu3001segment, which cann't respond those inputView as textField or texeView them do.",
    "version": "0.1.2",
    "homepage": "https://github.com/ZhipingYang/UUKeyboardInputView",
    "license": "MIT",
    "authors": {
        "ZhipingYang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ZhipingYang/UUKeyboardInputView.git",
        "tag": "0.1.2"
    },
    "requires_arc": true,
    "source_files": "UUKeyboardInputView/**/*",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This