MJRefreshConst.m 1.8 KB

123456789101112131415161718192021222324252627282930313233
  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 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 MJRefreshAutoFooterIdleText = @"MJRefreshAutoFooterIdleText";
  18. NSString *const MJRefreshAutoFooterRefreshingText = @"MJRefreshAutoFooterRefreshingText";
  19. NSString *const MJRefreshAutoFooterNoMoreDataText = @"MJRefreshAutoFooterNoMoreDataText";
  20. NSString *const MJRefreshBackFooterIdleText = @"MJRefreshBackFooterIdleText";
  21. NSString *const MJRefreshBackFooterPullingText = @"MJRefreshBackFooterPullingText";
  22. NSString *const MJRefreshBackFooterRefreshingText = @"MJRefreshBackFooterRefreshingText";
  23. NSString *const MJRefreshBackFooterNoMoreDataText = @"MJRefreshBackFooterNoMoreDataText";
  24. NSString *const MJRefreshHeaderLastTimeText = @"MJRefreshHeaderLastTimeText";
  25. NSString *const MJRefreshHeaderDateTodayText = @"MJRefreshHeaderDateTodayText";
  26. NSString *const MJRefreshHeaderNoneLastDateText = @"MJRefreshHeaderNoneLastDateText";