From 5a663d026ec599914bdf6ecd4be2b74aad872791 Mon Sep 17 00:00:00 2001 From: Frank <472730949@qq.com> Date: Mon, 17 May 2021 15:33:23 +0800 Subject: [PATCH] revert some deletion --- MJRefresh.podspec | 2 +- MJRefresh/MJRefreshConst.h | 3 +++ MJRefresh/MJRefreshConst.m | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MJRefresh.podspec b/MJRefresh.podspec index dfd3dc44..eaa9b286 100644 --- a/MJRefresh.podspec +++ b/MJRefresh.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MJRefresh' - s.version = '3.6.0' + s.version = '3.6.1' s.summary = 'An easy way to use pull-to-refresh' s.homepage = 'https://github.com/CoderMJLee/MJRefresh' s.license = 'MIT' diff --git a/MJRefresh/MJRefreshConst.h b/MJRefresh/MJRefreshConst.h index 2ccff476..b37c86c1 100644 --- a/MJRefresh/MJRefreshConst.h +++ b/MJRefresh/MJRefreshConst.h @@ -33,6 +33,9 @@ UIKIT_EXTERN const CGFloat MJRefreshLabelLeftInset; UIKIT_EXTERN const CGFloat MJRefreshHeaderHeight; UIKIT_EXTERN const CGFloat MJRefreshFooterHeight; UIKIT_EXTERN const CGFloat MJRefreshTrailWidth; +UIKIT_EXTERN const CGFloat MJRefreshFastAnimationDuration; +UIKIT_EXTERN const CGFloat MJRefreshSlowAnimationDuration; + UIKIT_EXTERN NSString *const MJRefreshKeyPathContentOffset; UIKIT_EXTERN NSString *const MJRefreshKeyPathContentSize; diff --git a/MJRefresh/MJRefreshConst.m b/MJRefresh/MJRefreshConst.m index 5ec03cbc..fdf82221 100644 --- a/MJRefresh/MJRefreshConst.m +++ b/MJRefresh/MJRefreshConst.m @@ -5,6 +5,9 @@ const CGFloat MJRefreshHeaderHeight = 54.0; const CGFloat MJRefreshFooterHeight = 44.0; const CGFloat MJRefreshTrailWidth = 60.0; +const CGFloat MJRefreshFastAnimationDuration = 0.25; +const CGFloat MJRefreshSlowAnimationDuration = 0.4; + NSString *const MJRefreshKeyPathContentOffset = @"contentOffset"; NSString *const MJRefreshKeyPathContentInset = @"contentInset";