From 6bea603831ae6b880051ab3ec8ce61ccdb7d9d44 Mon Sep 17 00:00:00 2001 From: Jony Fang Date: Wed, 1 Feb 2017 18:45:24 +0800 Subject: [PATCH 1/2] FIXED: Fix spelling error (pulllToRefreshViewDidRefresh -> pullToRefreshViewDidRefresh) --- Yep/Views/PullToRefresh/PullToRefreshView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Yep/Views/PullToRefresh/PullToRefreshView.swift b/Yep/Views/PullToRefresh/PullToRefreshView.swift index 1cfa1882e..035ab1025 100644 --- a/Yep/Views/PullToRefresh/PullToRefreshView.swift +++ b/Yep/Views/PullToRefresh/PullToRefreshView.swift @@ -9,7 +9,7 @@ import UIKit protocol PullToRefreshViewDelegate: class { - func pulllToRefreshViewDidRefresh(pulllToRefreshView: PullToRefreshView) + func pullToRefreshViewDidRefresh(pullToRefreshView: PullToRefreshView) func scrollView() -> UIScrollView } @@ -145,7 +145,7 @@ extension PullToRefreshView: UIScrollViewDelegate { targetContentOffset.memory.y = -scrollView.contentInset.top - delegate?.pulllToRefreshViewDidRefresh(self) + delegate?.pullToRefreshViewDidRefresh(self) } } @@ -157,7 +157,7 @@ extension PullToRefreshView: UIScrollViewDelegate { scrollView.contentOffset.y = -scrollView.contentInset.top - delegate?.pulllToRefreshViewDidRefresh(self) + delegate?.pullToRefreshViewDidRefresh(self) } } } @@ -187,4 +187,4 @@ final class RefreshItem { func updateViewTintColor(tintColor: UIColor) { view.tintColor = tintColor } -} \ No newline at end of file +} From d488079321aef4e476c4e3c085564d76ea1aa5bb Mon Sep 17 00:00:00 2001 From: Jony Fang Date: Wed, 1 Feb 2017 18:52:44 +0800 Subject: [PATCH 2/2] #FIXED: Fix Spelling error pulllToRefreshViewDidRefresh -> pullToRefreshViewDidRefresh --- Yep/ViewControllers/Feeds/FeedsViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yep/ViewControllers/Feeds/FeedsViewController.swift b/Yep/ViewControllers/Feeds/FeedsViewController.swift index 97b334ef4..0fe4c6858 100644 --- a/Yep/ViewControllers/Feeds/FeedsViewController.swift +++ b/Yep/ViewControllers/Feeds/FeedsViewController.swift @@ -1832,7 +1832,7 @@ extension FeedsViewController: UITableViewDataSource, UITableViewDelegate { extension FeedsViewController: PullToRefreshViewDelegate { - func pulllToRefreshViewDidRefresh(pulllToRefreshView: PullToRefreshView) { + func pullToRefreshViewDidRefresh(pulllToRefreshView: PullToRefreshView) { activityIndicator.alpha = 0