Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: word error #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func es.addInfiniteScrolling(animator animator: protocol<ESRefreshProtocol, ESRe
ESPullToRefresh support for the latest expiration time and the cache refresh time, You need set an `refreshIdentifier` to your UIScrollView.
``` swift
scrollView.refreshIdentifier = "Your Identifier" // Set refresh identifier
scrollView.expriedTimeInterval = 20.0 // Set the expiration interval
scrollView.expiredTimeInterval = 20.0 // Set the expiration interval
```
You can use `es.autoPullToRefresh()` method, when the time over the last refresh interval expires automatically refreshed.
``` swift
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func es.addInfiniteScrolling(animator animator: protocol<ESRefreshProtocol, ESRe
ESPullToRefresh支持最近刷新时间和过期时间缓存,您需要为UIScrollView子类设置`refreshIdentifier`标示。
``` swift
scrollView.refreshIdentifier = "Your Identifier" // 设置当前ScrollView的标识
scrollView.expriedTimeInterval = 20.0 // 设置过期时间间隔
scrollView.expiredTimeInterval = 20.0 // 设置过期时间间隔
```
你可以通过`es.autoPullToRefresh()` 方法,当上次刷新时间超过过期时间间隔时自动刷新。
``` swift
Expand Down