From 24ac47f19f89760a453291303528b3eea61db631 Mon Sep 17 00:00:00 2001 From: Zhichao Link Date: Mon, 31 Jul 2023 19:42:22 +0800 Subject: [PATCH] Fix typo. --- MJRefresh/Base/MJRefreshAutoFooter.h | 2 +- MJRefresh/Base/MJRefreshAutoFooter.m | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MJRefresh/Base/MJRefreshAutoFooter.h b/MJRefresh/Base/MJRefreshAutoFooter.h index e4eb872e..1ea8a2c5 100644 --- a/MJRefresh/Base/MJRefreshAutoFooter.h +++ b/MJRefresh/Base/MJRefreshAutoFooter.h @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN @property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ -@property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用triggerAutomaticallyRefreshPercent属性"); +@property (assign, nonatomic) CGFloat appearancePercentTriggerAutoRefresh MJRefreshDeprecated("请使用triggerAutomaticallyRefreshPercent属性"); /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; diff --git a/MJRefresh/Base/MJRefreshAutoFooter.m b/MJRefresh/Base/MJRefreshAutoFooter.m index b1b93fbe..3b4c7bd7 100644 --- a/MJRefresh/Base/MJRefreshAutoFooter.m +++ b/MJRefresh/Base/MJRefreshAutoFooter.m @@ -40,12 +40,12 @@ - (void)willMoveToSuperview:(UIView *)newSuperview } #pragma mark - 过期方法 -- (void)setAppearencePercentTriggerAutoRefresh:(CGFloat)appearencePercentTriggerAutoRefresh +- (void)setAppearancePercentTriggerAutoRefresh:(CGFloat)appearancePercentTriggerAutoRefresh { - self.triggerAutomaticallyRefreshPercent = appearencePercentTriggerAutoRefresh; + self.triggerAutomaticallyRefreshPercent = appearancePercentTriggerAutoRefresh; } -- (CGFloat)appearencePercentTriggerAutoRefresh +- (CGFloat)appearancePercentTriggerAutoRefresh { return self.triggerAutomaticallyRefreshPercent; }