MJRefreshConst.m 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // 代码地址: https://github.com/CoderMJLee/MJRefresh
  2. #import <UIKit/UIKit.h>
  3. const CGFloat MJRefreshLabelLeftInset = 25;
  4. const CGFloat MJRefreshHeaderHeight = 54.0;
  5. const CGFloat MJRefreshFooterHeight = 44.0;
  6. const CGFloat MJRefreshTrailWidth = 60.0;
  7. const CGFloat MJRefreshFastAnimationDuration = 0.25;
  8. const CGFloat MJRefreshSlowAnimationDuration = 0.4;
  9. NSString *const MJRefreshKeyPathContentOffset = @"contentOffset";
  10. NSString *const MJRefreshKeyPathContentInset = @"contentInset";
  11. NSString *const MJRefreshKeyPathContentSize = @"contentSize";
  12. NSString *const MJRefreshKeyPathPanState = @"state";
  13. NSString *const MJRefreshHeaderLastUpdatedTimeKey = @"MJRefreshHeaderLastUpdatedTimeKey";
  14. NSString *const MJRefreshHeaderIdleText = @"MJRefreshHeaderIdleText";
  15. NSString *const MJRefreshHeaderPullingText = @"MJRefreshHeaderPullingText";
  16. NSString *const MJRefreshHeaderRefreshingText = @"MJRefreshHeaderRefreshingText";
  17. NSString *const MJRefreshTrailerIdleText = @"MJRefreshTrailerIdleText";
  18. NSString *const MJRefreshTrailerPullingText = @"MJRefreshTrailerPullingText";
  19. NSString *const MJRefreshAutoFooterIdleText = @"MJRefreshAutoFooterIdleText";
  20. NSString *const MJRefreshAutoFooterRefreshingText = @"MJRefreshAutoFooterRefreshingText";
  21. NSString *const MJRefreshAutoFooterNoMoreDataText = @"MJRefreshAutoFooterNoMoreDataText";
  22. NSString *const MJRefreshBackFooterIdleText = @"MJRefreshBackFooterIdleText";
  23. NSString *const MJRefreshBackFooterPullingText = @"MJRefreshBackFooterPullingText";
  24. NSString *const MJRefreshBackFooterRefreshingText = @"MJRefreshBackFooterRefreshingText";
  25. NSString *const MJRefreshBackFooterNoMoreDataText = @"MJRefreshBackFooterNoMoreDataText";
  26. NSString *const MJRefreshHeaderLastTimeText = @"MJRefreshHeaderLastTimeText";
  27. NSString *const MJRefreshHeaderDateTodayText = @"MJRefreshHeaderDateTodayText";
  28. NSString *const MJRefreshHeaderNoneLastDateText = @"MJRefreshHeaderNoneLastDateText";
  29. NSString *const MJRefreshDidChangeLanguageNotification = @"MJRefreshDidChangeLanguageNotification";