MJRefreshConst.m 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // 代码地址: https://github.com/CoderMJLee/MJRefresh
  2. // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000
  3. #import <UIKit/UIKit.h>
  4. const CGFloat MJRefreshLabelLeftInset = 25;
  5. const CGFloat MJRefreshHeaderHeight = 54.0;
  6. const CGFloat MJRefreshFooterHeight = 44.0;
  7. const CGFloat MJRefreshTrailWidth = 60.0;
  8. const CGFloat MJRefreshFastAnimationDuration = 0.25;
  9. const CGFloat MJRefreshSlowAnimationDuration = 0.4;
  10. NSString *const MJRefreshKeyPathContentOffset = @"contentOffset";
  11. NSString *const MJRefreshKeyPathContentInset = @"contentInset";
  12. NSString *const MJRefreshKeyPathContentSize = @"contentSize";
  13. NSString *const MJRefreshKeyPathPanState = @"state";
  14. NSString *const MJRefreshHeaderLastUpdatedTimeKey = @"MJRefreshHeaderLastUpdatedTimeKey";
  15. NSString *const MJRefreshHeaderIdleText = @"MJRefreshHeaderIdleText";
  16. NSString *const MJRefreshHeaderPullingText = @"MJRefreshHeaderPullingText";
  17. NSString *const MJRefreshHeaderRefreshingText = @"MJRefreshHeaderRefreshingText";
  18. NSString *const MJRefreshTrailerIdleText = @"MJRefreshTrailerIdleText";
  19. NSString *const MJRefreshTrailerPullingText = @"MJRefreshTrailerPullingText";
  20. NSString *const MJRefreshAutoFooterIdleText = @"MJRefreshAutoFooterIdleText";
  21. NSString *const MJRefreshAutoFooterRefreshingText = @"MJRefreshAutoFooterRefreshingText";
  22. NSString *const MJRefreshAutoFooterNoMoreDataText = @"MJRefreshAutoFooterNoMoreDataText";
  23. NSString *const MJRefreshBackFooterIdleText = @"MJRefreshBackFooterIdleText";
  24. NSString *const MJRefreshBackFooterPullingText = @"MJRefreshBackFooterPullingText";
  25. NSString *const MJRefreshBackFooterRefreshingText = @"MJRefreshBackFooterRefreshingText";
  26. NSString *const MJRefreshBackFooterNoMoreDataText = @"MJRefreshBackFooterNoMoreDataText";
  27. NSString *const MJRefreshHeaderLastTimeText = @"MJRefreshHeaderLastTimeText";
  28. NSString *const MJRefreshHeaderDateTodayText = @"MJRefreshHeaderDateTodayText";
  29. NSString *const MJRefreshHeaderNoneLastDateText = @"MJRefreshHeaderNoneLastDateText";