@@ -159,16 +159,16 @@ You just need to write a `UIView` sub class,and make it conforms to these protoc
159159
160160For 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