-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a public initializer for YBSlantedCollectionViewLayoutSizeOptions.
- Loading branch information
Showing
16 changed files
with
530 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
232 changes: 232 additions & 0 deletions
232
docs/Structs/YBSlantedCollectionViewLayoutSizeOptions.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,232 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>YBSlantedCollectionViewLayoutSizeOptions Struct Reference</title> | ||
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> | ||
<link rel="stylesheet" type="text/css" href="../css/highlight.css" /> | ||
<meta charset='utf-8'> | ||
<script src="../js/jquery.min.js" defer></script> | ||
<script src="../js/jazzy.js" defer></script> | ||
|
||
</head> | ||
<body> | ||
<a name="//apple_ref/swift/Struct/YBSlantedCollectionViewLayoutSizeOptions" class="dashAnchor"></a> | ||
<a title="YBSlantedCollectionViewLayoutSizeOptions Struct Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../index.html">YBSlantedCollectionViewLayout Docs</a> (100% documented)</p> | ||
<p class="header-right"><a href="https://github.com/yacir/YBSlantedCollectionViewLayout"><img src="../img/gh.png"/>View on GitHub</a></p> | ||
</div> | ||
</header> | ||
<div class="content-wrapper"> | ||
<p id="breadcrumbs"> | ||
<a href="../index.html">YBSlantedCollectionViewLayout Reference</a> | ||
<img id="carat" src="../img/carat.png" /> | ||
YBSlantedCollectionViewLayoutSizeOptions Struct Reference | ||
</p> | ||
</div> | ||
<div class="content-wrapper"> | ||
<nav class="sidebar"> | ||
<ul class="nav-groups"> | ||
<li class="nav-group-name"> | ||
<a href="../Classes.html">Classes</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Classes/YBSlantedCollectionViewLayout.html">YBSlantedCollectionViewLayout</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../Structs.html">Structs</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../Structs/YBSlantedCollectionViewLayoutSizeOptions.html">YBSlantedCollectionViewLayoutSizeOptions</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</nav> | ||
<article class="main-content"> | ||
<section> | ||
<section class="section"> | ||
<h1>YBSlantedCollectionViewLayoutSizeOptions</h1> | ||
<div class="declaration"> | ||
<div class="language"> | ||
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">struct</span> <span class="kt">YBSlantedCollectionViewLayoutSizeOptions</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<p>The item size options</p> | ||
|
||
</section> | ||
<section class="section task-group-section"> | ||
<div class="task-group"> | ||
<ul> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:vV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptions12verticalSizeV12CoreGraphics7CGFloat"></a> | ||
<a name="//apple_ref/swift/Property/verticalSize" class="dashAnchor"></a> | ||
<a class="token" href="#/s:vV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptions12verticalSizeV12CoreGraphics7CGFloat">verticalSize</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>The item height if the scroll direction is setted to <code>Vertical</code>. | ||
Default value is <code>220</code></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="k">var</span> <span class="nv">verticalSize</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:vV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptions14horizontalSizeV12CoreGraphics7CGFloat"></a> | ||
<a name="//apple_ref/swift/Property/horizontalSize" class="dashAnchor"></a> | ||
<a class="token" href="#/s:vV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptions14horizontalSizeV12CoreGraphics7CGFloat">horizontalSize</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>The item width if the scroll direction is setted to <code>Horizontal</code>. | ||
Default value is <code>290</code></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="k">var</span> <span class="nv">horizontalSize</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:FV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptionscFT_S0_"></a> | ||
<a name="//apple_ref/swift/Method/init()" class="dashAnchor"></a> | ||
<a class="token" href="#/s:FV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptionscFT_S0_">init()</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>Init with default values</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="nf">init</span><span class="p">()</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:FV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptionscFT12verticalSizeV12CoreGraphics7CGFloat14horizontalSizeS2__S0_"></a> | ||
<a name="//apple_ref/swift/Method/init(verticalSize:horizontalSize:)" class="dashAnchor"></a> | ||
<a class="token" href="#/s:FV29YBSlantedCollectionViewLayout40YBSlantedCollectionViewLayoutSizeOptionscFT12verticalSizeV12CoreGraphics7CGFloat14horizontalSizeS2__S0_">init(verticalSize:horizontalSize:)</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>Initialize with custom values</p> | ||
|
||
<div class="aside aside-parameter"> | ||
<p class="aside-title">Parameter</p> | ||
Parameter verticalSize: Cell’s height for <code>Vertical</code> scroll direction | ||
|
||
</div> | ||
|
||
<div class="aside aside-parameter"> | ||
<p class="aside-title">Parameter</p> | ||
Parameter horizontalSize: Cell’s width for <code>Horizontal</code> scroll direction | ||
|
||
</div> | ||
|
||
</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="nf">init</span><span class="p">(</span><span class="n">verticalSize</span> <span class="nv">verticalSize</span><span class="p">:</span><span class="kt">CGFloat</span><span class="p">,</span> <span class="nv">horizontalSize</span><span class="p">:</span><span class="kt">CGFloat</span><span class="p">)</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<div> | ||
<h4>Parameters</h4> | ||
<table class="graybox"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>verticalSize</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>Cell’s height for <code>Vertical</code> scroll direction</p> | ||
|
||
</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<code> | ||
<em>horizontalSize</em> | ||
</code> | ||
</td> | ||
<td> | ||
<div> | ||
<p>Cell’s width for <code>Horizontal</code> scroll direction</p> | ||
|
||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2016 <a class="link" href="https://linkedin.com/in/yassir-barchi-318a7949" target="_blank" rel="external">Yassir</a>. All rights reserved. (Last updated: 2016-09-05)</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.5.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
</div> | ||
</body> | ||
</div> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.