| 123456789101112131415161718192021222324252627282930313233343536 |
- //
- // BasicViewController.h
- // RA Image
- //
- // Created by Jack on 2017/4/27.
- // Copyright © 2017年 USAI. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #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<JLKeyboardListenerDelegate>
- #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
|