1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // GlobalMethod+Version.h
- // 乐销
- //
- // Created by 隋林栋 on 2016/12/15.
- // Copyright © 2016年 ping. All rights reserved.
- //
- #import "GlobalMethod.h"
- @interface GlobalMethod (Version)
- //注销
- + (void)logoutSuccess;
- //清除全局数据
- + (void)clearUserInfo;
- //登陆环信
- + (void)loginHyphen;
- + (void)logoutHyphen;
- //判断是否登陆
- +(BOOL)isLoginSuccess;
- //登陆 with block
- + (void)loginWithBlock:(void (^)(void))block;
- //输入默认通知列表
- + (void)writeOriginNoticeList;
- //重新登陆
- + (void)relogin;
- //创建rootNav
- + (void)createRootNav;
- //刷新tableviewVC
- + (void)refreshTabelVCWithView:(UIView *)view;
- //是否可以侧滑
- + (BOOL)canLeftSlide;
- // 异步执行
- + (void)asynthicBlock:(void (^)(void))block;
- + (void)mainQueueBlock:(void (^)(void))block;
- +(void)applyRepeatNum:(int)num block:(void(^)(size_t time))block;
- //show test alert
- + (void)showTestAlert:(NSString *)alert;
- //跳转到指定根视图
- +(void)jumpToRootVC:(NSUInteger)index animated:(BOOL)animated;
- @end
|