bry

BRYParseKeyboardNotification

Parses the useful parts out of a keyboard will show/hide notification

Showing:

Popularity

Downloads/wk

0

GitHub Stars

53

Maintenance

Last Commit

7yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

BRYParseKeyboardNotification

A function that parses the useful parts out of a keyboard will appear/disappear notification.

Installation

Via CocoaPods, of course:

pod "BRYParseKeyboardNotification"

Usage

- (void)keyboardWillShow:(NSNotification *)notification {
    BRYParseKeyboardNotification(notification, ^(NSTimeInterval keyboardAnimationDuration, CGFloat keyboardHeight, UIViewAnimationOptions keyboardAnimationOptions) {
        [UIView animateWithDuration:keyboardAnimationDuration delay:0 options:keyboardAnimationOptions animations:^{
            someView.frameHeight -= keyboardHeight;
        }];
    });
}

License

Available for use under the MIT license: http://bryan.mit-license.org

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100