@@ -183,9 +183,9 @@ <h3 class="section-name">API</h3>
183
183
< li class ="item ">
184
184
< div >
185
185
< code >
186
- < a name ="/s:22UICircularProgressRing0a5TimerC0C05startD02to7handlerySd_yAC5StateOcSgtF "> </ a >
187
- < a name ="//apple_ref/swift/Method/startTimer(to:handler:) " class ="dashAnchor "> </ a >
188
- < a class ="token " href ="#/s:22UICircularProgressRing0a5TimerC0C05startD02to7handlerySd_yAC5StateOcSgtF "> startTimer(to:handler:)</ a >
186
+ < a name ="/s:22UICircularProgressRing0a5TimerC0C05startD04from2to7handlerySd_SdyAC5StateOcSgtF "> </ a >
187
+ < a name ="//apple_ref/swift/Method/startTimer(from: to:handler:) " class ="dashAnchor "> </ a >
188
+ < a class ="token " href ="#/s:22UICircularProgressRing0a5TimerC0C05startD04from2to7handlerySd_SdyAC5StateOcSgtF "> startTimer(from: to:handler:)</ a >
189
189
</ code >
190
190
</ div >
191
191
< div class ="height-container ">
@@ -195,12 +195,20 @@ <h3 class="section-name">API</h3>
195
195
< div class ="abstract ">
196
196
< p > Starts the timer until the given time is elapsed.</ p >
197
197
198
+ < p > Parameters:</ p >
199
+
200
+ < ul >
201
+ < li > startTime: the time at which the timer will begin, default is 0.</ li >
202
+ < li > endtime: the time at which the timer will end, the animation duration will be < code > endTime - startTime</ code > .</ li >
203
+ < li > handler: the handler which is called and updated depending on the state of the timer.</ li >
204
+ </ ul >
205
+
198
206
</ div >
199
207
< div class ="declaration ">
200
208
< h4 > Declaration</ h4 >
201
209
< div class ="language ">
202
210
< p class ="aside-title "> Swift</ p >
203
- < pre class ="highlight swift "> < code > < span class ="kd "> public</ span > < span class ="kd "> func</ span > < span class ="nf "> startTimer</ span > < span class ="p "> (</ span > < span class ="n "> to</ span > < span class ="nv "> time </ span > < span class ="p "> :</ span > < span class ="kt "> TimeInterval</ span > < span class ="p "> ,</ span > < span class ="nv "> handler</ span > < span class ="p "> :</ span > < span class ="kt "> < a href ="../Classes/UICircularTimerRing.html#/s:22UICircularProgressRing0a5TimerC0C0D7Handlera "> TimerHandler</ a > </ span > < span class ="p "> ?)</ span > </ code > </ pre >
211
+ < pre class ="highlight swift "> < code > < span class ="kd "> public</ span > < span class ="kd "> func</ span > < span class ="nf "> startTimer</ span > < span class ="p "> (</ span > < span class ="n "> from </ span > < span class =" nv " > startTime </ span > < span class =" p " > : </ span > < span class =" kt " > TimeInterval </ span > < span class =" o " > = </ span > < span class =" mf " > 0.0 </ span > < span class =" p " > , </ span > < span class =" n " > to</ span > < span class ="nv "> endTime </ span > < span class ="p "> :</ span > < span class ="kt "> TimeInterval</ span > < span class ="p "> ,</ span > < span class ="nv "> handler</ span > < span class ="p "> :</ span > < span class ="kt "> < a href ="../Classes/UICircularTimerRing.html#/s:22UICircularProgressRing0a5TimerC0C0D7Handlera "> TimerHandler</ a > </ span > < span class ="p "> ?)</ span > </ code > </ pre >
204
212
205
213
</ div >
206
214
</ div >
@@ -335,8 +343,8 @@ <h4>Declaration</h4>
335
343
</ section >
336
344
</ section >
337
345
< section id ="footer ">
338
- < p > © 2019 < a class ="link " href ="https://luispadron.com " target ="_blank " rel ="external "> Luis</ a > . All rights reserved. (Last updated: 2019-03-27 )</ p >
339
- < p > Generated by < a class ="link " href ="https://github.com/realm/jazzy " target ="_blank " rel ="external "> jazzy ♪♫ v0.9.5 </ a > , a < a class ="link " href ="https://realm.io " target ="_blank " rel ="external "> Realm</ a > project.</ p >
346
+ < p > © 2019 < a class ="link " href ="https://luispadron.com " target ="_blank " rel ="external "> Luis</ a > . All rights reserved. (Last updated: 2019-05-26 )</ p >
347
+ < p > Generated by < a class ="link " href ="https://github.com/realm/jazzy " target ="_blank " rel ="external "> jazzy ♪♫ v0.9.6 </ a > , a < a class ="link " href ="https://realm.io " target ="_blank " rel ="external "> Realm</ a > project.</ p >
340
348
</ section >
341
349
</ article >
342
350
</ div >
0 commit comments