Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Commit 9b2558d

Browse files
Fix README
1 parent 494ca24 commit 9b2558d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,16 @@ You just need to write a `UIView` sub class,and make it conforms to these protoc
159159

160160
For exmaple,to create a custom header
161161
```
162-
//Distance when in refreshing state
162+
//Distance from top when in refreshing state
163163
func heightForRefreshingState()->CGFloat
164164
165-
//Will enter refreshing state,change view state to refreshing in this callback
165+
//Will enter refreshing state,change view state to refreshing in this function
166166
func didBeginrefreshingState()
167167
168-
//Start end refreshing,tell user the result of rerefresh here
168+
//The refreshing task is end.Refresh header will hide.Tell user the refreshing result here.
169169
func didBeginEndRefershingAnimation(result:RefreshResult)
170170
171-
//Refresh header is hidden,reset all to inital state in here
171+
//Refresh header is hidden,reset all to inital state here
172172
func didCompleteEndRefershingAnimation(result:RefreshResult)
173173
174174
//Distance to drag to fire refresh action ,default is heightForRefreshingState
@@ -177,7 +177,7 @@ For exmaple,to create a custom header
177177
//Percent change during scrolling
178178
optional func percentUpdateDuringScrolling(percent:CGFloat)
179179
180-
//Time to hide refresh header
180+
//Duration of header hide animation
181181
optional func durationWhenEndRefreshing()->Double
182182
183183
```

0 commit comments

Comments
 (0)