MJRefreshConst.m 1.5 KB

12345678910111213141516171819202122232425262728
  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 MJRefreshHeaderHeight = 54.0;
  5. const CGFloat MJRefreshFooterHeight = 44.0;
  6. const CGFloat MJRefreshFastAnimationDuration = 0.25;
  7. const CGFloat MJRefreshSlowAnimationDuration = 0.4;
  8. NSString *const MJRefreshKeyPathContentOffset = @"contentOffset";
  9. NSString *const MJRefreshKeyPathContentInset = @"contentInset";
  10. NSString *const MJRefreshKeyPathContentSize = @"contentSize";
  11. NSString *const MJRefreshKeyPathPanState = @"state";
  12. NSString *const MJRefreshHeaderLastUpdatedTimeKey = @"MJRefreshHeaderLastUpdatedTimeKey";
  13. NSString *const MJRefreshHeaderIdleText = @"下拉可以刷新";
  14. NSString *const MJRefreshHeaderPullingText = @"松开立即刷新";
  15. NSString *const MJRefreshHeaderRefreshingText = @"正在刷新数据中...";
  16. NSString *const MJRefreshAutoFooterIdleText = @"点击或上拉加载更多";
  17. NSString *const MJRefreshAutoFooterRefreshingText = @"正在加载更多的数据...";
  18. NSString *const MJRefreshAutoFooterNoMoreDataText = @"已经全部加载完毕";
  19. NSString *const MJRefreshBackFooterIdleText = @"上拉可以加载更多";
  20. NSString *const MJRefreshBackFooterPullingText = @"松开立即加载更多";
  21. NSString *const MJRefreshBackFooterRefreshingText = @"正在加载更多的数据...";
  22. NSString *const MJRefreshBackFooterNoMoreDataText = @"已经全部加载完毕";