diff options
Diffstat (limited to 'docs/Classes/SDLSlider.html')
-rw-r--r-- | docs/Classes/SDLSlider.html | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/Classes/SDLSlider.html b/docs/Classes/SDLSlider.html index 7081948b0..8e083c584 100644 --- a/docs/Classes/SDLSlider.html +++ b/docs/Classes/SDLSlider.html @@ -32,9 +32,12 @@ <h4>Objective-C</h4> - <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLSlider</span> <span class="p">:</span> <span class="nc"><a href="../Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre> + <pre class="highlight"><code><span class="k">-</span> <span class="p">(</span><span class="n">instancetype</span><span class="p">)</span><span class="nf">initWithNumTicks</span><span class="p">:(</span><span class="n">UInt8</span><span class="p">)</span><span class="nv">numTicks</span> <span class="nf">position</span><span class="p">:(</span><span class="n">UInt8</span><span class="p">)</span><span class="nv">position</span><span class="p">;</span></code></pre> + <h4>Swift</h4> + <pre class="highlight"><code><span class="nf">init</span><span class="p">(</span><span class="nv">numTicks</span><span class="p">:</span> <span class="kt">UInt8</span><span class="p">,</span> <span class="nv">position</span><span class="p">:</span> <span class="kt">UInt8</span><span class="p">)</span></code></pre> + @@ -47,9 +50,12 @@ <h4>Objective-C</h4> - <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLSlider</span> <span class="p">:</span> <span class="nc"><a href="../Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre> + <pre class="highlight"><code><span class="k">-</span> <span class="p">(</span><span class="n">instancetype</span><span class="p">)</span><span class="nf">initWithNumTicks</span><span class="p">:(</span><span class="n">UInt8</span><span class="p">)</span><span class="nv">numTicks</span> <span class="nf">position</span><span class="p">:(</span><span class="n">UInt8</span><span class="p">)</span><span class="nv">position</span> <span class="nf">sliderHeader</span><span class="p">:(</span><span class="n">NSString</span> <span class="o">*</span><span class="p">)</span><span class="nv">sliderHeader</span> <span class="nf">sliderFooter</span><span class="p">:(</span><span class="n">nullable</span> <span class="n">NSString</span> <span class="o">*</span><span class="p">)</span><span class="nv">sliderFooter</span> <span class="nf">timeout</span><span class="p">:(</span><span class="n">UInt16</span><span class="p">)</span><span class="nv">timeout</span><span class="p">;</span></code></pre> + <h4>Swift</h4> + <pre class="highlight"><code><span class="nf">init</span><span class="p">(</span><span class="nv">numTicks</span><span class="p">:</span> <span class="kt">UInt8</span><span class="p">,</span> <span class="nv">position</span><span class="p">:</span> <span class="kt">UInt8</span><span class="p">,</span> <span class="nv">sliderHeader</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">sliderFooter</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span> <span class="nv">timeout</span><span class="p">:</span> <span class="kt">UInt16</span><span class="p">)</span></code></pre> + @@ -62,9 +68,12 @@ <h4>Objective-C</h4> - <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLSlider</span> <span class="p">:</span> <span class="nc"><a href="../Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre> + <pre class="highlight"><code><span class="k">-</span> <span class="p">(</span><span class="n">instancetype</span><span class="p">)</span><span class="nf">initWithNumTicks</span><span class="p">:(</span><span class="n">UInt8</span><span class="p">)</span><span class="nv">numTicks</span> <span class="nf">position</span><span class="p">:(</span><span class="n">UInt8</span><span class="p">)</span><span class="nv">position</span> <span class="nf">sliderHeader</span><span class="p">:(</span><span class="n">NSString</span> <span class="o">*</span><span class="p">)</span><span class="nv">sliderHeader</span> <span class="nf">sliderFooters</span><span class="p">:(</span><span class="n">nullable</span> <span class="n">NSArray</span><span class="o"><</span><span class="n">NSString</span> <span class="o">*></span> <span class="o">*</span><span class="p">)</span><span class="nv">sliderFooters</span> <span class="nf">timeout</span><span class="p">:(</span><span class="n">UInt16</span><span class="p">)</span><span class="nv">timeout</span><span class="p">;</span></code></pre> + <h4>Swift</h4> + <pre class="highlight"><code><span class="nf">init</span><span class="p">(</span><span class="nv">numTicks</span><span class="p">:</span> <span class="kt">UInt8</span><span class="p">,</span> <span class="nv">position</span><span class="p">:</span> <span class="kt">UInt8</span><span class="p">,</span> <span class="nv">sliderHeader</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">sliderFooters</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">]?,</span> <span class="nv">timeout</span><span class="p">:</span> <span class="kt">UInt16</span><span class="p">)</span></code></pre> + @@ -83,7 +92,7 @@ <h4>Swift</h4> - <pre class="highlight"><code><span class="k">var</span> <span class="nv">numTicks</span><span class="p">:</span> <span class="kt">NSNumber</span> </code></pre> + <pre class="highlight"><code><span class="k">var</span> <span class="nv">numTicks</span><span class="p">:</span> <span class="kt">NSNumber</span> <span class="o">&</span> <span class="kt"><a href="../Protocols.html#/c:objc(pl)SDLInt">SDLInt</a></span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre> @@ -103,7 +112,7 @@ <h4>Swift</h4> - <pre class="highlight"><code><span class="k">var</span> <span class="nv">position</span><span class="p">:</span> <span class="kt">NSNumber</span> </code></pre> + <pre class="highlight"><code><span class="k">var</span> <span class="nv">position</span><span class="p">:</span> <span class="kt">NSNumber</span> <span class="o">&</span> <span class="kt"><a href="../Protocols.html#/c:objc(pl)SDLInt">SDLInt</a></span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre> @@ -176,7 +185,7 @@ <h4>Swift</h4> - <pre class="highlight"><code><span class="k">var</span> <span class="nv">timeout</span><span class="p">:</span> <span class="p">(</span><span class="kt">NSNumber</span> </code></pre> + <pre class="highlight"><code><span class="k">var</span> <span class="nv">timeout</span><span class="p">:</span> <span class="p">(</span><span class="kt">NSNumber</span> <span class="o">&</span> <span class="kt"><a href="../Protocols.html#/c:objc(pl)SDLInt">SDLInt</a></span><span class="p">)?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre> |