Latest 1.0.3
Homepage https://github.com/callHM/PHMKeyboard
License MIT
Platforms ios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

Example

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

Where should I create my keyboard

@interface PHMViewController ()<PHMKeyboardViewDelegate>

@end

@implementation PHMViewController
- (void)viewDidLoad {
[super viewDidLoad];

PHMKeyboardView *keyboard = [PHMKeyboardView keyboardWithDelegate:self];
[self.view addSubview:keyboard];
keyboard.frame = CGRectMake(0, 40, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height/2-40);

//自定义Style
PHMKeyboardView *keyboardT = [PHMKeyboardView keyboardWithDelegate:self styleClass:[PHMCustomStyle class]] ;
[self.view addSubview:keyboardT];
keyboardT.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height/2);
}

#pragma mark PHMKeyboardViewDelegate
- (void)keyboardView:(PHMKeyboardView *)view
button:(UIButton *)button
text:(NSString *)text {
NSLog(@"%@",text);
}
@end

Installation

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

pod "PHMKeyboard"

Get busy Masoning

‘#import "PHMKeyboard.h"’

Author

PHM, [email protected]

License

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

Latest podspec

{
    "name": "PHMKeyboard",
    "version": "1.0.3",
    "summary": "A short description of PHMKeyboard.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/callHM/PHMKeyboard",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "PHM": "[email protected]"
    },
    "source": {
        "git": "https://github.com/callHM/PHMKeyboard.git",
        "commit": "e2e6697c264cf23be0ba468b6c251a3ddfd8fb50"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "PHMKeyboard/Classes/*.{h,m}",
    "requires_arc": true,
    "ios": {
        "frameworks": [
            "Foundation",
            "UIKit"
        ]
    }
}

Pin It on Pinterest

Share This