mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/AsyncDisplayKit git-subtree-mainline: d06f423e0ed3df1fed9bd10d79ee312a9179b632 git-subtree-split: 02bedc12816e251ad71777f9d2578329b6d2bef6
201 lines
5.0 KiB
HTML
Executable File
201 lines
5.0 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>ASDimensionUnit Constants Reference</title>
|
|
|
|
<link rel="stylesheet" href="../css/style.css">
|
|
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
|
|
<meta name="generator" content="appledoc 2.2.1 (build 1334)">
|
|
</head>
|
|
<body class="appledoc">
|
|
<header>
|
|
<div class="container" class="hide-in-xcode">
|
|
|
|
<h1 id="library-title">
|
|
<a href="../index.html"> </a>
|
|
</h1>
|
|
|
|
<p id="developer-home">
|
|
<a href="../index.html">AsyncDisplayKit</a>
|
|
</p>
|
|
|
|
</div>
|
|
</header>
|
|
|
|
<aside>
|
|
<div class="container">
|
|
<nav>
|
|
<ul id="header-buttons" role="toolbar">
|
|
<li><a href="../index.html">Index</a></li>
|
|
<li><a href="../hierarchy.html">Hierarchy</a></li>
|
|
|
|
<li id="on-this-page" role="navigation">
|
|
<label>
|
|
On This Page
|
|
|
|
<div class="chevron">
|
|
<div class="chevy chevron-left"></div>
|
|
<div class="chevy chevron-right"></div>
|
|
</div>
|
|
|
|
<select id="jump-to">
|
|
<option value="top">Jump To…</option>
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
</label>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</aside>
|
|
|
|
<article>
|
|
<div id="overview_contents" class="container">
|
|
<div id="content">
|
|
<main role="main">
|
|
<h1 class="title">ASDimensionUnit Constants Reference</h1>
|
|
|
|
|
|
<div class="section section-specification"><table cellspacing="0"><tbody>
|
|
<tr>
|
|
<th>Declared in</th>
|
|
<td>ASDimension.h</td>
|
|
</tr>
|
|
</tbody></table></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="subsubtitle method-title">ASDimensionUnit</h3>
|
|
|
|
|
|
<div class="section section-overview">
|
|
<p>A dimension relative to constraints to be provided in the future.
|
|
A ASDimension can be one of three types:</p>
|
|
|
|
<p>“Auto” - This indicated “I have no opinion” and may be resolved in whatever way makes most sense given the circumstances.</p>
|
|
|
|
<p>“Points” - Just a number. It will always resolve to exactly this amount.</p>
|
|
|
|
<p>“Percent” - Multiplied to a provided parent amount to resolve a final amount.</p>
|
|
</div>
|
|
|
|
|
|
<div class="section">
|
|
<!-- display enum values -->
|
|
|
|
<h4 class="method-subtitle">Definition</h4>
|
|
<code>typedef NS_ENUM(NSInteger, ASDimensionUnit ) {<br>
|
|
|
|
<a href="">ASDimensionUnitAuto</a>,<br>
|
|
|
|
<a href="">ASDimensionUnitPoints</a>,<br>
|
|
|
|
<a href="">ASDimensionUnitFraction</a>,<br>
|
|
|
|
};</code>
|
|
|
|
</div>
|
|
|
|
<div class="section section-methods">
|
|
<h4 class="method-subtitle">Constants</h4>
|
|
<dl class="termdef">
|
|
|
|
<dt><a name="" title="ASDimensionUnitAuto"></a><code>ASDimensionUnitAuto</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>This indicates “I have no opinion” and may be resolved in whatever way makes most sense given the circumstances.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">ASDimension.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="ASDimensionUnitPoints"></a><code>ASDimensionUnitPoints</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>Just a number. It will always resolve to exactly this amount. This is the default type.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">ASDimension.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
<dt><a name="" title="ASDimensionUnitFraction"></a><code>ASDimensionUnitFraction</code></dt>
|
|
<dd>
|
|
|
|
|
|
<p>Multiplied to a provided parent amount to resolve a final amount.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
Declared In <code class="declared-in-ref">ASDimension.h</code>.
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-subsection declared-in-section">
|
|
<h4 class="method-subtitle">Declared In</h4>
|
|
<p><code class="declared-in-ref">ASDimension.h</code></p>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
<div class="footer-copyright">
|
|
|
|
<p class="copyright">Copyright © 2016 AsyncDisplayKit. All rights reserved. Updated: 2016-11-05</p>
|
|
|
|
|
|
<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
|
|
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
<script src="../js/script.js"></script>
|
|
</body>
|
|
</html> |