CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.

LJKeyBroadEventManager 3.2.9

LJKeyBroadEventManager 3.2.9

Maintained by lijian.



 
Depends on:
LJViewController>= 0
LJViewKit>= 0
 

LJKeyBroadEventManager

IOS开发键盘上移的一个工具,实现方法独特,比较可靠.保持了键盘弹出的系统动画,使用控制器注册的方式使用而并非全局单例控制.简书地址:https://www.jianshu.com/p/31287e026f18

Example

主要的LJKeyboardManagerDelegate协议方法如下:

@protocol LJKeyboardManagerDelegate <NSObject>

@required
-(void)keyBroadOffset:(CGFloat)offset;

@optional

- (void)keyBroadOffset:(CGFloat)offset Responder:(UIView *)Responder;

- (void)keyBroadScrollOffset:(CGFloat)offset Responder:(UIView *)Responder;

-(CGFloat)TopSpacingToFirstResponder:(UIView*)Responder;

-(BOOL)ShowExtensionToolBar:(UIView*)Responder;

@end

image

Requirements

可用于IOS8.0 Objective-c以及Swift项目

Installation

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

pod 'LJKeyBroadEventManager'

注册:

registerKeyBroadResponder(self);

取消注册

removeKeyBroadResponder(self);

Author

lijian, [email protected]

License

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