Update docs

This commit is contained in:
Reda Lemeden 2017-12-31 20:08:19 +01:00
parent 693dbc9eb4
commit c8fede3e86
24 changed files with 598 additions and 322 deletions

View File

@ -65,9 +65,9 @@
<li class="item">
<div>
<code>
<a name="/s:C4Gifu12GIFImageView"></a>
<a name="/c:@M@Gifu@objc(cs)GIFImageView"></a>
<a name="//apple_ref/swift/Class/GIFImageView" class="dashAnchor"></a>
<a class="token" href="#/s:C4Gifu12GIFImageView">GIFImageView</a>
<a class="token" href="#/c:@M@Gifu@objc(cs)GIFImageView">GIFImageView</a>
</code>
</div>
<div class="height-container">
@ -97,9 +97,9 @@
<li class="item">
<div>
<code>
<a name="/s:C4Gifu8Animator"></a>
<a name="/s:4Gifu8AnimatorC"></a>
<a name="//apple_ref/swift/Class/Animator" class="dashAnchor"></a>
<a class="token" href="#/s:C4Gifu8Animator">Animator</a>
<a class="token" href="#/s:4Gifu8AnimatorC">Animator</a>
</code>
</div>
<div class="height-container">
@ -128,7 +128,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:FC4Gifu8AnimatorcFT12withDelegatePS_13GIFAnimatable__S0_"></a>
<a name="/s:4Gifu8AnimatorCAcA13GIFAnimatable_p12withDelegate_tcfc"></a>
<a name="//apple_ref/swift/Method/init(withDelegate:)" class="dashAnchor"></a>
<a class="token" href="#/s:FC4Gifu8AnimatorcFT12withDelegatePS_13GIFAnimatable__S0_">init(withDelegate:)</a>
<a class="token" href="#/s:4Gifu8AnimatorCAcA13GIFAnimatable_p12withDelegate_tcfc">init(withDelegate:)</a>
</code>
</div>
<div class="height-container">
@ -105,8 +105,7 @@
</td>
<td>
<div>
<p>A view object that implements the <code>GIFAnimatable</code> protocol.</p>
<p>A view object that implements the <code><a href="../Protocols/GIFAnimatable.html">GIFAnimatable</a></code> protocol.</p>
</div>
</td>
</tr>
@ -116,7 +115,6 @@
<div>
<h4>Return Value</h4>
<p>A new animator instance.</p>
</div>
</section>
</div>
@ -127,7 +125,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:vC4Gifu12GIFImageView8animatorGSqCS_8Animator_"></a>
<a name="/s:4Gifu12GIFImageViewC8animatorAA8AnimatorCSgv"></a>
<a name="//apple_ref/swift/Property/animator" class="dashAnchor"></a>
<a class="token" href="#/s:vC4Gifu12GIFImageView8animatorGSqCS_8Animator_">animator</a>
<a class="token" href="#/s:4Gifu12GIFImageViewC8animatorAA8AnimatorCSgv">animator</a>
</code>
</div>
<div class="height-container">
@ -99,9 +99,9 @@
<li class="item">
<div>
<code>
<a name="/s:FC4Gifu12GIFImageView7displayFCSo7CALayerT_"></a>
<a name="/c:@M@Gifu@objc(cs)GIFImageView(im)displayLayer:"></a>
<a name="//apple_ref/swift/Method/display(_:)" class="dashAnchor"></a>
<a class="token" href="#/s:FC4Gifu12GIFImageView7displayFCSo7CALayerT_">display(_:)</a>
<a class="token" href="#/c:@M@Gifu@objc(cs)GIFImageView(im)displayLayer:">display(_:)</a>
</code>
</div>
<div class="height-container">
@ -133,7 +133,6 @@
<td>
<div>
<p>The delegated layer.</p>
</div>
</td>
</tr>
@ -149,7 +148,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -65,9 +65,9 @@
<li class="item">
<div>
<code>
<a name="/s:P4Gifu13GIFAnimatable"></a>
<a name="/s:4Gifu13GIFAnimatableP"></a>
<a name="//apple_ref/swift/Protocol/GIFAnimatable" class="dashAnchor"></a>
<a class="token" href="#/s:P4Gifu13GIFAnimatable">GIFAnimatable</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP">GIFAnimatable</a>
</code>
</div>
<div class="height-container">
@ -93,9 +93,9 @@
<li class="item">
<div>
<code>
<a name="/s:P4Gifu14ImageContainer"></a>
<a name="/s:4Gifu14ImageContainerP"></a>
<a name="//apple_ref/swift/Protocol/ImageContainer" class="dashAnchor"></a>
<a class="token" href="#/s:P4Gifu14ImageContainer">ImageContainer</a>
<a class="token" href="#/s:4Gifu14ImageContainerP">ImageContainer</a>
</code>
</div>
<div class="height-container">
@ -124,7 +124,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable8animatorGSqCS_8Animator_"></a>
<a name="/s:4Gifu13GIFAnimatableP8animatorAA8AnimatorCSgv"></a>
<a name="//apple_ref/swift/Property/animator" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable8animatorGSqCS_8Animator_">animator</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP8animatorAA8AnimatorCSgv">animator</a>
</code>
</div>
<div class="height-container">
@ -99,9 +99,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable5layerCSo7CALayer"></a>
<a name="/s:4Gifu13GIFAnimatableP5layerSo7CALayerCv"></a>
<a name="//apple_ref/swift/Property/layer" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable5layerCSo7CALayer">layer</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP5layerSo7CALayerCv">layer</a>
</code>
</div>
<div class="height-container">
@ -126,9 +126,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable5frameVSC6CGRect"></a>
<a name="/s:4Gifu13GIFAnimatableP5frameSC6CGRectVv"></a>
<a name="//apple_ref/swift/Property/frame" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable5frameVSC6CGRect">frame</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP5frameSC6CGRectVv">frame</a>
</code>
</div>
<div class="height-container">
@ -153,9 +153,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable11contentModeOSC17UIViewContentMode"></a>
<a name="/s:4Gifu13GIFAnimatableP11contentModeSC013UIViewContentD0Ov"></a>
<a name="//apple_ref/swift/Property/contentMode" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable11contentModeOSC17UIViewContentMode">contentMode</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP11contentModeSC013UIViewContentD0Ov">contentMode</a>
</code>
</div>
<div class="height-container">
@ -184,9 +184,9 @@
<li class="item">
<div>
<code>
<a name="/s:ve4GifuRxS_13GIFAnimatablexS_14ImageContainerrS0_20intrinsicContentSizeVSC6CGSize"></a>
<a name="/s:4Gifu13GIFAnimatablePA2aBRzAA14ImageContainerRzlE20intrinsicContentSizeSC6CGSizeVv"></a>
<a name="//apple_ref/swift/Property/intrinsicContentSize" class="dashAnchor"></a>
<a class="token" href="#/s:ve4GifuRxS_13GIFAnimatablexS_14ImageContainerrS0_20intrinsicContentSizeVSC6CGSize">intrinsicContentSize</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePA2aBRzAA14ImageContainerRzlE20intrinsicContentSizeSC6CGSizeVv">intrinsicContentSize</a>
</code>
<span class="declaration-note">
Extension method
@ -218,9 +218,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable15gifLoopDurationSd"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE15gifLoopDurationSdv"></a>
<a name="//apple_ref/swift/Property/gifLoopDuration" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable15gifLoopDurationSd">gifLoopDuration</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE15gifLoopDurationSdv">gifLoopDuration</a>
</code>
<span class="declaration-note">
Extension method
@ -248,9 +248,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable11activeFrameGSqCSo7UIImage_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE11activeFrameSo7UIImageCSgv"></a>
<a name="//apple_ref/swift/Property/activeFrame" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable11activeFrameGSqCSo7UIImage_">activeFrame</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE11activeFrameSo7UIImageCSgv">activeFrame</a>
</code>
<span class="declaration-note">
Extension method
@ -278,9 +278,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable10frameCountSi"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE10frameCountSiv"></a>
<a name="//apple_ref/swift/Property/frameCount" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable10frameCountSi">frameCount</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE10frameCountSiv">frameCount</a>
</code>
<span class="declaration-note">
Extension method
@ -308,9 +308,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable14isAnimatingGIFSb"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE14isAnimatingGIFSbv"></a>
<a name="//apple_ref/swift/Property/isAnimatingGIF" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable14isAnimatingGIFSb">isAnimatingGIF</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE14isAnimatingGIFSbv">isAnimatingGIF</a>
</code>
<span class="declaration-note">
Extension method
@ -338,9 +338,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable7animateFT12withGIFNamedSS9loopCountSi_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE7animateySS12withGIFNamed_Si9loopCounttF"></a>
<a name="//apple_ref/swift/Method/animate(withGIFNamed:loopCount:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable7animateFT12withGIFNamedSS9loopCountSi_T_">animate(withGIFNamed:loopCount:)</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE7animateySS12withGIFNamed_Si9loopCounttF">animate(withGIFNamed:loopCount:)</a>
</code>
<span class="declaration-note">
Extension method
@ -375,7 +375,6 @@
<td>
<div>
<p>The file name of the GIF in the main bundle.</p>
</div>
</td>
</tr>
@ -388,7 +387,6 @@
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
@ -401,9 +399,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable7animateFT11withGIFDataV10Foundation4Data9loopCountSi_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE7animatey10Foundation4DataV11withGIFData_Si9loopCounttF"></a>
<a name="//apple_ref/swift/Method/animate(withGIFData:loopCount:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable7animateFT11withGIFDataV10Foundation4Data9loopCountSi_T_">animate(withGIFData:loopCount:)</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE7animatey10Foundation4DataV11withGIFData_Si9loopCounttF">animate(withGIFData:loopCount:)</a>
</code>
<span class="declaration-note">
Extension method
@ -438,7 +436,6 @@
<td>
<div>
<p>GIF image data.</p>
</div>
</td>
</tr>
@ -451,7 +448,6 @@
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
@ -464,72 +460,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable19prepareForAnimationFT12withGIFNamedSS9loopCountSi17completionHandlerGSqFT_T___T_"></a>
<a name="//apple_ref/swift/Method/prepareForAnimation(withGIFNamed:loopCount:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable19prepareForAnimationFT12withGIFNamedSS9loopCountSi17completionHandlerGSqFT_T___T_">prepareForAnimation(withGIFNamed:loopCount:completionHandler:)</a>
</code>
<span class="declaration-note">
Extension method
</span>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Prepares the animator instance for animation.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">prepareForAnimation</span><span class="p">(</span><span class="n">withGIFNamed</span> <span class="nv">imageName</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">loopCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span> <span class="nv">completionHandler</span><span class="p">:</span> <span class="p">((</span><span class="kt">Void</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="o">.</span><span class="k">none</span><span class="p">)</span></code></pre>
</div>
</div>
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
<tr>
<td>
<code>
<em>imageName</em>
</code>
</td>
<td>
<div>
<p>The file name of the GIF in the main bundle.</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>loopCount</em>
</code>
</td>
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable19prepareForAnimationFT11withGIFDataV10Foundation4Data9loopCountSi17completionHandlerGSqFT_T___T_"></a>
<a name="//apple_ref/swift/Method/prepareForAnimation(withGIFData:loopCount:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable19prepareForAnimationFT11withGIFDataV10Foundation4Data9loopCountSi17completionHandlerGSqFT_T___T_">prepareForAnimation(withGIFData:loopCount:completionHandler:)</a>
<a name="/s:4Gifu13GIFAnimatablePAAE7animatey10Foundation3URLV10withGIFURL_Si9loopCounttF"></a>
<a name="//apple_ref/swift/Method/animate(withGIFURL:loopCount:)" class="dashAnchor"></a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE7animatey10Foundation3URLV10withGIFURL_Si9loopCounttF">animate(withGIFURL:loopCount:)</a>
</code>
<span class="declaration-note">
Extension method
@ -547,7 +480,133 @@
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">prepareForAnimation</span><span class="p">(</span><span class="n">withGIFData</span> <span class="nv">imageData</span><span class="p">:</span> <span class="kt">Data</span><span class="p">,</span> <span class="nv">loopCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span> <span class="nv">completionHandler</span><span class="p">:</span> <span class="p">((</span><span class="kt">Void</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="o">.</span><span class="k">none</span><span class="p">)</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">animate</span><span class="p">(</span><span class="n">withGIFURL</span> <span class="nv">imageURL</span><span class="p">:</span> <span class="kt">URL</span><span class="p">,</span> <span class="nv">loopCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">)</span></code></pre>
</div>
</div>
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
<tr>
<td>
<code>
<em>imageURL</em>
</code>
</td>
<td>
<div>
<p>GIF image url.</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>loopCount</em>
</code>
</td>
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:4Gifu13GIFAnimatablePAAE19prepareForAnimationySS12withGIFNamed_Si9loopCountyycSg17completionHandlertF"></a>
<a name="//apple_ref/swift/Method/prepareForAnimation(withGIFNamed:loopCount:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE19prepareForAnimationySS12withGIFNamed_Si9loopCountyycSg17completionHandlertF">prepareForAnimation(withGIFNamed:loopCount:completionHandler:)</a>
</code>
<span class="declaration-note">
Extension method
</span>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Prepares the animator instance for animation.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">prepareForAnimation</span><span class="p">(</span><span class="n">withGIFNamed</span> <span class="nv">imageName</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span>
<span class="nv">loopCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span>
<span class="nv">completionHandler</span><span class="p">:</span> <span class="p">(()</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>
</div>
</div>
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
<tr>
<td>
<code>
<em>imageName</em>
</code>
</td>
<td>
<div>
<p>The file name of the GIF in the main bundle.</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>loopCount</em>
</code>
</td>
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:4Gifu13GIFAnimatablePAAE19prepareForAnimationy10Foundation4DataV11withGIFData_Si9loopCountyycSg17completionHandlertF"></a>
<a name="//apple_ref/swift/Method/prepareForAnimation(withGIFData:loopCount:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE19prepareForAnimationy10Foundation4DataV11withGIFData_Si9loopCountyycSg17completionHandlertF">prepareForAnimation(withGIFData:loopCount:completionHandler:)</a>
</code>
<span class="declaration-note">
Extension method
</span>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Prepare for animation and start animating immediately.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">prepareForAnimation</span><span class="p">(</span><span class="n">withGIFData</span> <span class="nv">imageData</span><span class="p">:</span> <span class="kt">Data</span><span class="p">,</span>
<span class="nv">loopCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span>
<span class="nv">completionHandler</span><span class="p">:</span> <span class="p">(()</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>
</div>
</div>
@ -564,7 +623,6 @@
<td>
<div>
<p>GIF image data.</p>
</div>
</td>
</tr>
@ -577,7 +635,6 @@
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
@ -590,9 +647,72 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable15prepareForReuseFT_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE19prepareForAnimationy10Foundation3URLV10withGIFURL_Si9loopCountyycSg17completionHandlertF"></a>
<a name="//apple_ref/swift/Method/prepareForAnimation(withGIFURL:loopCount:completionHandler:)" class="dashAnchor"></a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE19prepareForAnimationy10Foundation3URLV10withGIFURL_Si9loopCountyycSg17completionHandlertF">prepareForAnimation(withGIFURL:loopCount:completionHandler:)</a>
</code>
<span class="declaration-note">
Extension method
</span>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Prepare for animation and start animating immediately.</p>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">prepareForAnimation</span><span class="p">(</span><span class="n">withGIFURL</span> <span class="nv">imageURL</span><span class="p">:</span> <span class="kt">URL</span><span class="p">,</span>
<span class="nv">loopCount</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span>
<span class="nv">completionHandler</span><span class="p">:</span> <span class="p">(()</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>
</div>
</div>
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
<tr>
<td>
<code>
<em>imageURL</em>
</code>
</td>
<td>
<div>
<p>GIF image url.</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>loopCount</em>
</code>
</td>
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:4Gifu13GIFAnimatablePAAE15prepareForReuseyyF"></a>
<a name="//apple_ref/swift/Method/prepareForReuse()" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable15prepareForReuseFT_T_">prepareForReuse()</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE15prepareForReuseyyF">prepareForReuse()</a>
</code>
<span class="declaration-note">
Extension method
@ -620,9 +740,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable17startAnimatingGIFFT_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE17startAnimatingGIFyyF"></a>
<a name="//apple_ref/swift/Method/startAnimatingGIF()" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable17startAnimatingGIFFT_T_">startAnimatingGIF()</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE17startAnimatingGIFyyF">startAnimatingGIF()</a>
</code>
<span class="declaration-note">
Extension method
@ -650,9 +770,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable16stopAnimatingGIFFT_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE16stopAnimatingGIFyyF"></a>
<a name="//apple_ref/swift/Method/stopAnimatingGIF()" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable16stopAnimatingGIFFT_T_">stopAnimatingGIF()</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE16stopAnimatingGIFyyF">stopAnimatingGIF()</a>
</code>
<span class="declaration-note">
Extension method
@ -680,9 +800,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable21setShouldResizeFramesFSbT_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE21setShouldResizeFramesySbF"></a>
<a name="//apple_ref/swift/Method/setShouldResizeFrames(_:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable21setShouldResizeFramesFSbT_">setShouldResizeFrames(_:)</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE21setShouldResizeFramesySbF">setShouldResizeFrames(_:)</a>
</code>
<span class="declaration-note">
Extension method
@ -717,7 +837,6 @@
<td>
<div>
<p>Boolean value indicating whether individual frames should be resized.</p>
</div>
</td>
</tr>
@ -730,9 +849,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable19setFrameBufferCountFSiT_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE19setFrameBufferCountySiF"></a>
<a name="//apple_ref/swift/Method/setFrameBufferCount(_:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable19setFrameBufferCountFSiT_">setFrameBufferCount(_:)</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE19setFrameBufferCountySiF">setFrameBufferCount(_:)</a>
</code>
<span class="declaration-note">
Extension method
@ -767,7 +886,6 @@
<td>
<div>
<p>The number of frames to buffer.</p>
</div>
</td>
</tr>
@ -780,9 +898,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable19updateImageIfNeededFT_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE19updateImageIfNeededyyF"></a>
<a name="//apple_ref/swift/Method/updateImageIfNeeded()" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable19updateImageIfNeededFT_T_">updateImageIfNeeded()</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE19updateImageIfNeededyyF">updateImageIfNeeded()</a>
</code>
<span class="declaration-note">
Extension method
@ -813,7 +931,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu14ImageContainer5imageGSqCSo7UIImage_"></a>
<a name="/s:4Gifu14ImageContainerP5imageSo7UIImageCSgv"></a>
<a name="//apple_ref/swift/Property/image" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu14ImageContainer5imageGSqCSo7UIImage_">image</a>
<a class="token" href="#/s:4Gifu14ImageContainerP5imageSo7UIImageCSgv">image</a>
</code>
</div>
<div class="height-container">
@ -102,7 +102,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

28
docs/badge.svg Normal file
View File

@ -0,0 +1,28 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="136" height="20">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<clipPath id="a">
<rect width="136" height="20" rx="3" fill="#fff"/>
</clipPath>
<g clip-path="url(#a)">
<path fill="#555" d="M0 0h93v20H0z"/>
<path fill="#4c1" d="M93 0h43v20H93z"/>
<path fill="url(#b)" d="M0 0h136v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110">
<text x="475" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="830">
documentation
</text>
<text x="475" y="140" transform="scale(.1)" textLength="830">
documentation
</text>
<text x="1135" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="330">
100%
</text>
<text x="1135" y="140" transform="scale(.1)" textLength="330">
100%
</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -164,6 +164,11 @@ header {
padding-top: 10px; }
.main-content section .task-group-section .task-group:first-of-type .section-name {
padding-top: 15px; }
.main-content section .heading:before {
content: "";
display: block;
padding-top: 70px;
margin: -70px 0 0; }
.section {
padding: 0 25px; }

View File

@ -65,9 +65,9 @@
<li class="item">
<div>
<code>
<a name="/s:C4Gifu12GIFImageView"></a>
<a name="/c:@M@Gifu@objc(cs)GIFImageView"></a>
<a name="//apple_ref/swift/Class/GIFImageView" class="dashAnchor"></a>
<a class="token" href="#/s:C4Gifu12GIFImageView">GIFImageView</a>
<a class="token" href="#/c:@M@Gifu@objc(cs)GIFImageView">GIFImageView</a>
</code>
</div>
<div class="height-container">
@ -97,9 +97,9 @@
<li class="item">
<div>
<code>
<a name="/s:C4Gifu8Animator"></a>
<a name="/s:4Gifu8AnimatorC"></a>
<a name="//apple_ref/swift/Class/Animator" class="dashAnchor"></a>
<a class="token" href="#/s:C4Gifu8Animator">Animator</a>
<a class="token" href="#/s:4Gifu8AnimatorC">Animator</a>
</code>
</div>
<div class="height-container">
@ -128,7 +128,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:FC4Gifu8AnimatorcFT12withDelegatePS_13GIFAnimatable__S0_"></a>
<a name="/s:4Gifu8AnimatorCAcA13GIFAnimatable_p12withDelegate_tcfc"></a>
<a name="//apple_ref/swift/Method/init(withDelegate:)" class="dashAnchor"></a>
<a class="token" href="#/s:FC4Gifu8AnimatorcFT12withDelegatePS_13GIFAnimatable__S0_">init(withDelegate:)</a>
<a class="token" href="#/s:4Gifu8AnimatorCAcA13GIFAnimatable_p12withDelegate_tcfc">init(withDelegate:)</a>
</code>
</div>
<div class="height-container">
@ -105,8 +105,7 @@
</td>
<td>
<div>
<p>A view object that implements the <code>GIFAnimatable</code> protocol.</p>
<p>A view object that implements the <code><a href="../Protocols/GIFAnimatable.html">GIFAnimatable</a></code> protocol.</p>
</div>
</td>
</tr>
@ -116,7 +115,6 @@
<div>
<h4>Return Value</h4>
<p>A new animator instance.</p>
</div>
</section>
</div>
@ -127,7 +125,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:vC4Gifu12GIFImageView8animatorGSqCS_8Animator_"></a>
<a name="/s:4Gifu12GIFImageViewC8animatorAA8AnimatorCSgv"></a>
<a name="//apple_ref/swift/Property/animator" class="dashAnchor"></a>
<a class="token" href="#/s:vC4Gifu12GIFImageView8animatorGSqCS_8Animator_">animator</a>
<a class="token" href="#/s:4Gifu12GIFImageViewC8animatorAA8AnimatorCSgv">animator</a>
</code>
</div>
<div class="height-container">
@ -99,9 +99,9 @@
<li class="item">
<div>
<code>
<a name="/s:FC4Gifu12GIFImageView7displayFCSo7CALayerT_"></a>
<a name="/c:@M@Gifu@objc(cs)GIFImageView(im)displayLayer:"></a>
<a name="//apple_ref/swift/Method/display(_:)" class="dashAnchor"></a>
<a class="token" href="#/s:FC4Gifu12GIFImageView7displayFCSo7CALayerT_">display(_:)</a>
<a class="token" href="#/c:@M@Gifu@objc(cs)GIFImageView(im)displayLayer:">display(_:)</a>
</code>
</div>
<div class="height-container">
@ -133,7 +133,6 @@
<td>
<div>
<p>The delegated layer.</p>
</div>
</td>
</tr>
@ -149,7 +148,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -65,9 +65,9 @@
<li class="item">
<div>
<code>
<a name="/s:P4Gifu13GIFAnimatable"></a>
<a name="/s:4Gifu13GIFAnimatableP"></a>
<a name="//apple_ref/swift/Protocol/GIFAnimatable" class="dashAnchor"></a>
<a class="token" href="#/s:P4Gifu13GIFAnimatable">GIFAnimatable</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP">GIFAnimatable</a>
</code>
</div>
<div class="height-container">
@ -93,9 +93,9 @@
<li class="item">
<div>
<code>
<a name="/s:P4Gifu14ImageContainer"></a>
<a name="/s:4Gifu14ImageContainerP"></a>
<a name="//apple_ref/swift/Protocol/ImageContainer" class="dashAnchor"></a>
<a class="token" href="#/s:P4Gifu14ImageContainer">ImageContainer</a>
<a class="token" href="#/s:4Gifu14ImageContainerP">ImageContainer</a>
</code>
</div>
<div class="height-container">
@ -124,7 +124,7 @@
</section>
<section id="footer">
<p>2015 © Reda Lemeden. See LICENSE for more details.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.3</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>

View File

@ -72,9 +72,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable8animatorGSqCS_8Animator_"></a>
<a name="/s:4Gifu13GIFAnimatableP8animatorAA8AnimatorCSgv"></a>
<a name="//apple_ref/swift/Property/animator" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable8animatorGSqCS_8Animator_">animator</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP8animatorAA8AnimatorCSgv">animator</a>
</code>
</div>
<div class="height-container">
@ -99,9 +99,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable5layerCSo7CALayer"></a>
<a name="/s:4Gifu13GIFAnimatableP5layerSo7CALayerCv"></a>
<a name="//apple_ref/swift/Property/layer" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable5layerCSo7CALayer">layer</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP5layerSo7CALayerCv">layer</a>
</code>
</div>
<div class="height-container">
@ -126,9 +126,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable5frameVSC6CGRect"></a>
<a name="/s:4Gifu13GIFAnimatableP5frameSC6CGRectVv"></a>
<a name="//apple_ref/swift/Property/frame" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable5frameVSC6CGRect">frame</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP5frameSC6CGRectVv">frame</a>
</code>
</div>
<div class="height-container">
@ -153,9 +153,9 @@
<li class="item">
<div>
<code>
<a name="/s:vP4Gifu13GIFAnimatable11contentModeOSC17UIViewContentMode"></a>
<a name="/s:4Gifu13GIFAnimatableP11contentModeSC013UIViewContentD0Ov"></a>
<a name="//apple_ref/swift/Property/contentMode" class="dashAnchor"></a>
<a class="token" href="#/s:vP4Gifu13GIFAnimatable11contentModeOSC17UIViewContentMode">contentMode</a>
<a class="token" href="#/s:4Gifu13GIFAnimatableP11contentModeSC013UIViewContentD0Ov">contentMode</a>
</code>
</div>
<div class="height-container">
@ -184,9 +184,9 @@
<li class="item">
<div>
<code>
<a name="/s:ve4GifuRxS_13GIFAnimatablexS_14ImageContainerrS0_20intrinsicContentSizeVSC6CGSize"></a>
<a name="/s:4Gifu13GIFAnimatablePA2aBRzAA14ImageContainerRzlE20intrinsicContentSizeSC6CGSizeVv"></a>
<a name="//apple_ref/swift/Property/intrinsicContentSize" class="dashAnchor"></a>
<a class="token" href="#/s:ve4GifuRxS_13GIFAnimatablexS_14ImageContainerrS0_20intrinsicContentSizeVSC6CGSize">intrinsicContentSize</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePA2aBRzAA14ImageContainerRzlE20intrinsicContentSizeSC6CGSizeVv">intrinsicContentSize</a>
</code>
<span class="declaration-note">
Extension method
@ -218,9 +218,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable15gifLoopDurationSd"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE15gifLoopDurationSdv"></a>
<a name="//apple_ref/swift/Property/gifLoopDuration" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable15gifLoopDurationSd">gifLoopDuration</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE15gifLoopDurationSdv">gifLoopDuration</a>
</code>
<span class="declaration-note">
Extension method
@ -248,9 +248,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable11activeFrameGSqCSo7UIImage_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE11activeFrameSo7UIImageCSgv"></a>
<a name="//apple_ref/swift/Property/activeFrame" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable11activeFrameGSqCSo7UIImage_">activeFrame</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE11activeFrameSo7UIImageCSgv">activeFrame</a>
</code>
<span class="declaration-note">
Extension method
@ -278,9 +278,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable10frameCountSi"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE10frameCountSiv"></a>
<a name="//apple_ref/swift/Property/frameCount" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable10frameCountSi">frameCount</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE10frameCountSiv">frameCount</a>
</code>
<span class="declaration-note">
Extension method
@ -308,9 +308,9 @@
<li class="item">
<div>
<code>
<a name="/s:vE4GifuPS_13GIFAnimatable14isAnimatingGIFSb"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE14isAnimatingGIFSbv"></a>
<a name="//apple_ref/swift/Property/isAnimatingGIF" class="dashAnchor"></a>
<a class="token" href="#/s:vE4GifuPS_13GIFAnimatable14isAnimatingGIFSb">isAnimatingGIF</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE14isAnimatingGIFSbv">isAnimatingGIF</a>
</code>
<span class="declaration-note">
Extension method
@ -338,9 +338,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable7animateFT12withGIFNamedSS9loopCountSi_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE7animateySS12withGIFNamed_Si9loopCounttF"></a>
<a name="//apple_ref/swift/Method/animate(withGIFNamed:loopCount:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable7animateFT12withGIFNamedSS9loopCountSi_T_">animate(withGIFNamed:loopCount:)</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE7animateySS12withGIFNamed_Si9loopCounttF">animate(withGIFNamed:loopCount:)</a>
</code>
<span class="declaration-note">
Extension method
@ -375,7 +375,6 @@
<td>
<div>
<p>The file name of the GIF in the main bundle.</p>
</div>
</td>
</tr>
@ -388,7 +387,6 @@
<td>
<div>
<p>Desired number of loops, &lt;= 0 for infinite loop.</p>
</div>
</td>
</tr>
@ -401,9 +399,9 @@
<li class="item">
<div>
<code>
<a name="/s:FE4GifuPS_13GIFAnimatable7animateFT11withGIFDataV10Foundation4Data9loopCountSi_T_"></a>
<a name="/s:4Gifu13GIFAnimatablePAAE7animatey10Foundation4DataV11withGIFData_Si9loopCounttF"></a>
<a name="//apple_ref/swift/Method/animate(withGIFData:loopCount:)" class="dashAnchor"></a>
<a class="token" href="#/s:FE4GifuPS_13GIFAnimatable7animateFT11withGIFDataV10Foundation4Data9loopCountSi_T_">animate(withGIFData:loopCount:)</a>
<a class="token" href="#/s:4Gifu13GIFAnimatablePAAE7animatey10Foundation4DataV11withGIFData_Si9loopCounttF">animate(withGIFData:loopCount:)</a>
</code>
<span class="declaration-note">
Extension method
@ -438,7 +436,6 @@
<td>
<div>
<p>GIF image data.</p>
</div>
</td>
</tr>