// // BasicViewController.h // RA Image // // Created by Jack on 2017/4/27. // Copyright © 2017年 USAI. All rights reserved. // #import #import "const.h" #import "config.h" #import "RAINetwork.h" #import "AppDelegate.h" #import "RAUtils.h" #import "JLKeyboardListener.h" extern NSString *const LogoutNotification; @interface BasicViewController : UIViewController #pragma mark - Property @property (nonatomic,weak) UIView *currentFirstResponder; @property (nonatomic,strong,readonly) NSNotificationCenter *notificationCenter; #pragma mark - Method - (id)userDefaultsValue:(NSString *)key; - (void)setUserDefaultsValue:(id)value forKey:(NSString *)key; - (void)userLogout:(NSNotification *)notification; - (UIViewController *)viewControllerInStoryboard:(NSString *)storyboard withId:(NSString *)storyboardId; - (void)tapResignFirstResponder:(UITapGestureRecognizer *)tap; - (void)removeFirstResponderTap; - (void)registListenKeyboard; - (void)startListenKeyboard; - (void)stopListenKeyboard; @end