JJHeadersConfig.m 537 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // JJHeadersConfig.m
  3. // QQHeader
  4. //
  5. // Created by lijunjie on 16/3/23.
  6. // Copyright © 2016年 ljj. All rights reserved.
  7. //
  8. #import "JJHeadersConfig.h"
  9. @implementation JJHeadersConfig
  10. + (instancetype)share
  11. {
  12. static JJHeadersConfig *config;
  13. static dispatch_once_t onceToken;
  14. dispatch_once(&onceToken, ^{
  15. config = [[JJHeadersConfig alloc] init];
  16. });
  17. return config;
  18. }
  19. - (instancetype)init
  20. {
  21. self = [super init];
  22. if (self) {
  23. _headerClipHalfAngle = 30.0f;
  24. }
  25. return self;
  26. }
  27. @end