Skip to content

Commit

Permalink
Merge branch 'release/0.4.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
chrs1885 committed Aug 9, 2018
2 parents bbad82b + e633231 commit 7173772
Show file tree
Hide file tree
Showing 30 changed files with 921 additions and 537 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 0.4.0

### Enhancements
* [Separate issue templates for bug and feature request](https://github.com/chrs1885/Capable/issues/18)
* [Swift package manager support](https://github.com/chrs1885/Capable/issues/12)

## Version 0.3.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion Capable.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Capable'
s.version = '0.3.0'
s.version = '0.4.0'
s.summary = 'Keep track of accessibility settings and enable users with disabilities to use your iOS, tvOS, and watchOS app.'

s.description = <<-DESC
Expand Down
10 changes: 9 additions & 1 deletion Documentation/Enums.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Protocols/FontMetricsProtocol.html">FontMetricsProtocol</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Structs.html">Structures</a>
<ul class="nav-group-tasks">
Expand Down Expand Up @@ -106,7 +114,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-07-19)</p>
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-08-09)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
206 changes: 90 additions & 116 deletions Documentation/Enums/CapableFeature.html

Large diffs are not rendered by default.

25 changes: 13 additions & 12 deletions Documentation/Extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="Protocols/FontMetricsProtocol.html">FontMetricsProtocol</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="Structs.html">Structures</a>
<ul class="nav-group-tasks">
Expand Down Expand Up @@ -99,26 +107,19 @@ <h1>Extensions</h1>
<li class="item">
<div>
<code>
<a name="/c:objc(cs)UIFont"></a>
<a name="/"></a>
<a name="//apple_ref/swift/Extension/UIFont" class="dashAnchor"></a>
<a class="token" href="#/c:objc(cs)UIFont">UIFont</a>
<a class="token" href="#/">UIFont</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">

<a href="Extensions/UIFont.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">class</span> <span class="kt">UIFont</span> <span class="p">:</span> <span class="kt">NSObject</span><span class="p">,</span> <span class="kt">NSCopying</span></code></pre>
<p>Extension that adds functionality for creating scalable UIFont objects.</p>

</div>
<a href="Extensions/UIFont.html" class="slightly-smaller">See more</a>
</div>
</section>
</div>
Expand All @@ -128,7 +129,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-07-19)</p>
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-08-09)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
10 changes: 9 additions & 1 deletion Documentation/Extensions/Notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/FontMetricsProtocol.html">FontMetricsProtocol</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Structs.html">Structures</a>
<ul class="nav-group-tasks">
Expand Down Expand Up @@ -105,7 +113,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-07-19)</p>
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-08-09)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
10 changes: 9 additions & 1 deletion Documentation/Extensions/Notification/Name.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../../Protocols/FontMetricsProtocol.html">FontMetricsProtocol</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../../Structs.html">Structures</a>
<ul class="nav-group-tasks">
Expand Down Expand Up @@ -111,7 +119,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-07-19)</p>
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-08-09)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
147 changes: 20 additions & 127 deletions Documentation/Extensions/UIFont.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Protocols.html">Protocols</a>
<ul class="nav-group-tasks">
<li class="nav-group-task">
<a href="../Protocols/FontMetricsProtocol.html">FontMetricsProtocol</a>
</li>
</ul>
</li>
<li class="nav-group-name">
<a href="../Structs.html">Structures</a>
<ul class="nav-group-tasks">
Expand All @@ -67,23 +75,18 @@
<section>
<section class="section">
<h1>UIFont</h1>
<div class="declaration">
<div class="language">
<pre class="highlight swift"><code><span class="kd">class</span> <span class="kt">UIFont</span> <span class="p">:</span> <span class="kt">NSObject</span><span class="p">,</span> <span class="kt">NSCopying</span></code></pre>
<p>Extension that adds functionality for creating scalable UIFont objects.</p>

</div>
</div>

</section>
<section class="section task-group-section">
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
<a name="/s:So6UIFontC7CapableE10scaledFontA2B3for_tFZ"></a>
<a name="/"></a>
<a name="//apple_ref/swift/Method/scaledFont(for:)" class="dashAnchor"></a>
<a class="token" href="#/s:So6UIFontC7CapableE10scaledFontA2B3for_tFZ">scaledFont(for:)</a>
<a class="token" href="#/">scaledFont(for:)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -94,46 +97,15 @@ <h1>UIFont</h1>
<p>Makes the given font scalable.</p>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">scaledFont</span><span class="p">(</span><span class="k">for</span> <span class="nv">font</span><span class="p">:</span> <span class="kt">UIFont</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">UIFont</span></code></pre>

</div>
</div>
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
<tr>
<td>
<code>
<em>font</em>
</code>
</td>
<td>
<div>
<p>The font to make scalable.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<h4>Return Value</h4>
<p>A scalable font object.</p>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:So6UIFontC7CapableE10scaledFontABSgSS4name_12CoreGraphics7CGFloatV4sizetFZ"></a>
<a name="/"></a>
<a name="//apple_ref/swift/Method/scaledFont(name:size:)" class="dashAnchor"></a>
<a class="token" href="#/s:So6UIFontC7CapableE10scaledFontABSgSS4name_12CoreGraphics7CGFloatV4sizetFZ">scaledFont(name:size:)</a>
<a class="token" href="#/">scaledFont(name:size:)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -144,58 +116,15 @@ <h4>Return Value</h4>
<p>Creates a scalable font with the given font name and reference font size.</p>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">scaledFont</span><span class="p">(</span><span class="n">name</span> <span class="nv">fontName</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="n">size</span> <span class="nv">fontSize</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">UIFont</span><span class="p">?</span></code></pre>

</div>
</div>
<div>
<h4>Parameters</h4>
<table class="graybox">
<tbody>
<tr>
<td>
<code>
<em>fontName</em>
</code>
</td>
<td>
<div>
<p>The name of the font that should be used.</p>
</div>
</td>
</tr>
<tr>
<td>
<code>
<em>fontSize</em>
</code>
</td>
<td>
<div>
<p>The reference font size to use.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<h4>Return Value</h4>
<p>A scalable font object.</p>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:So6UIFontC7CapableE16scaledSystemFontAB12CoreGraphics7CGFloatV6ofSize_tFZ"></a>
<a name="/"></a>
<a name="//apple_ref/swift/Method/scaledSystemFont(ofSize:)" class="dashAnchor"></a>
<a class="token" href="#/s:So6UIFontC7CapableE16scaledSystemFontAB12CoreGraphics7CGFloatV6ofSize_tFZ">scaledSystemFont(ofSize:)</a>
<a class="token" href="#/">scaledSystemFont(ofSize:)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -210,27 +139,15 @@ <h4>Return Value</h4>
</ul>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">scaledSystemFont</span><span class="p">(</span><span class="n">ofSize</span> <span class="nv">fontSize</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">UIFont</span></code></pre>

</div>
</div>
<div>
<h4>Return Value</h4>
<p>A scalable font object.</p>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:So6UIFontC7CapableE20scaledBoldSystemFontAB12CoreGraphics7CGFloatV6ofSize_tFZ"></a>
<a name="/"></a>
<a name="//apple_ref/swift/Method/scaledBoldSystemFont(ofSize:)" class="dashAnchor"></a>
<a class="token" href="#/s:So6UIFontC7CapableE20scaledBoldSystemFontAB12CoreGraphics7CGFloatV6ofSize_tFZ">scaledBoldSystemFont(ofSize:)</a>
<a class="token" href="#/">scaledBoldSystemFont(ofSize:)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -245,27 +162,15 @@ <h4>Return Value</h4>
</ul>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">scaledBoldSystemFont</span><span class="p">(</span><span class="n">ofSize</span> <span class="nv">fontSize</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">UIFont</span></code></pre>

</div>
</div>
<div>
<h4>Return Value</h4>
<p>A scalable font object.</p>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:So6UIFontC7CapableE22scaledItalicSystemFontAB12CoreGraphics7CGFloatV6ofSize_tFZ"></a>
<a name="/"></a>
<a name="//apple_ref/swift/Method/scaledItalicSystemFont(ofSize:)" class="dashAnchor"></a>
<a class="token" href="#/s:So6UIFontC7CapableE22scaledItalicSystemFontAB12CoreGraphics7CGFloatV6ofSize_tFZ">scaledItalicSystemFont(ofSize:)</a>
<a class="token" href="#/">scaledItalicSystemFont(ofSize:)</a>
</code>
</div>
<div class="height-container">
Expand All @@ -280,18 +185,6 @@ <h4>Return Value</h4>
</ul>

</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">scaledItalicSystemFont</span><span class="p">(</span><span class="n">ofSize</span> <span class="nv">fontSize</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">UIFont</span></code></pre>

</div>
</div>
<div>
<h4>Return Value</h4>
<p>A scalable font object.</p>
</div>
</section>
</div>
</li>
Expand All @@ -300,7 +193,7 @@ <h4>Return Value</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-07-19)</p>
<p>&copy; 2018 <a class="link" href="https://github.com/chrs1885" target="_blank" rel="external">Christoph Wendt</a>. All rights reserved. (Last updated: 2018-08-09)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
Loading

0 comments on commit 7173772

Please sign in to comment.