@@ -183,9 +183,9 @@ <h3 class="section-name">API</h3>
183183 < li class ="item ">
184184 < div >
185185 < 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 >
189189 </ code >
190190 </ div >
191191 < div class ="height-container ">
@@ -195,12 +195,20 @@ <h3 class="section-name">API</h3>
195195 < div class ="abstract ">
196196 < p > Starts the timer until the given time is elapsed.</ p >
197197
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+
198206 </ div >
199207 < div class ="declaration ">
200208 < h4 > Declaration</ h4 >
201209 < div class ="language ">
202210 < 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 >
204212
205213 </ div >
206214 </ div >
@@ -335,8 +343,8 @@ <h4>Declaration</h4>
335343 </ section >
336344 </ section >
337345 < 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 >
340348 </ section >
341349 </ article >
342350 </ div >
0 commit comments