MJRefreshConfig.m 431 B

123456789101112131415161718192021222324
  1. //
  2. // MJRefreshConfig.m
  3. //
  4. // Created by Frank on 2018/11/27.
  5. // Copyright © 2018 小码哥. All rights reserved.
  6. //
  7. #import "MJRefreshConfig.h"
  8. @implementation MJRefreshConfig
  9. static MJRefreshConfig *mj_RefreshConfig = nil;
  10. + (instancetype)defaultConfig {
  11. static dispatch_once_t onceToken;
  12. dispatch_once(&onceToken, ^{
  13. mj_RefreshConfig = [[self alloc] init];
  14. });
  15. return mj_RefreshConfig;
  16. }
  17. @end