GlobalMethod+Version.h 1017 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // GlobalMethod+Version.h
  3. // 乐销
  4. //
  5. // Created by 隋林栋 on 2016/12/15.
  6. // Copyright © 2016年 ping. All rights reserved.
  7. //
  8. #import "GlobalMethod.h"
  9. @interface GlobalMethod (Version)
  10. //注销
  11. + (void)logoutSuccess;
  12. //清除全局数据
  13. + (void)clearUserInfo;
  14. //登陆环信
  15. + (void)loginHyphen;
  16. + (void)logoutHyphen;
  17. //判断是否登陆
  18. +(BOOL)isLoginSuccess;
  19. //登陆 with block
  20. + (void)loginWithBlock:(void (^)(void))block;
  21. //输入默认通知列表
  22. + (void)writeOriginNoticeList;
  23. //重新登陆
  24. + (void)relogin;
  25. //创建rootNav
  26. + (void)createRootNav;
  27. //刷新tableviewVC
  28. + (void)refreshTabelVCWithView:(UIView *)view;
  29. //是否可以侧滑
  30. + (BOOL)canLeftSlide;
  31. // 异步执行
  32. + (void)asynthicBlock:(void (^)(void))block;
  33. + (void)mainQueueBlock:(void (^)(void))block;
  34. +(void)applyRepeatNum:(int)num block:(void(^)(size_t time))block;
  35. //show test alert
  36. + (void)showTestAlert:(NSString *)alert;
  37. //跳转到指定根视图
  38. +(void)jumpToRootVC:(NSUInteger)index animated:(BOOL)animated;
  39. @end