Skip to content

Instantly share code, notes, and snippets.

View fedorsemenchenko's full-sized avatar

fedorsemenchenko

View GitHub Profile
#import <Foundation/Foundation.h>
typedef void (^KeyboardVisabilityWillChange)(BOOL isVisible);
@interface DBO_KeyboardManager : NSObject
@property (assign, nonatomic, readonly) CGRect keyboardFrame;
@property (strong, nonatomic, readonly) NSNumber *animationDuration;
@property (nonatomic, copy) KeyboardVisabilityWillChange keyboardVisabilityChange;