This commit is contained in:
Nadine Salter
2014-12-03 18:18:07 -08:00
parent 175b872d5a
commit 02ecfe6b10
40 changed files with 3403 additions and 128 deletions

View File

@@ -43,6 +43,8 @@
<option value="//api/name/constrainedSizeForCalculatedSize">&nbsp;&nbsp;&nbsp;&nbsp;constrainedSizeForCalculatedSize</option>
<option value="//api/name/displaySuspended">&nbsp;&nbsp;&nbsp;&nbsp;displaySuspended</option>
<option value="//api/name/displaysAsynchronously">&nbsp;&nbsp;&nbsp;&nbsp;displaysAsynchronously</option>
<option value="//api/name/hitTestSlop">&nbsp;&nbsp;&nbsp;&nbsp;hitTestSlop</option>
@@ -53,8 +55,6 @@
<option value="//api/name/nodeLoaded">&nbsp;&nbsp;&nbsp;&nbsp;nodeLoaded</option>
<option value="//api/name/preventOrCancelDisplay">&nbsp;&nbsp;&nbsp;&nbsp;preventOrCancelDisplay</option>
<option value="//api/name/shouldRasterizeDescendants">&nbsp;&nbsp;&nbsp;&nbsp;shouldRasterizeDescendants</option>
<option value="//api/name/subnodes">&nbsp;&nbsp;&nbsp;&nbsp;subnodes</option>
@@ -82,6 +82,8 @@
<option value="//api/name/convertRect:toNode:">&nbsp;&nbsp;&nbsp;&nbsp;- convertRect:toNode:</option>
<option value="//api/name/display">&nbsp;&nbsp;&nbsp;&nbsp;- display</option>
<option value="//api/name/displayImmediately">&nbsp;&nbsp;&nbsp;&nbsp;- displayImmediately</option>
<option value="//api/name/init">&nbsp;&nbsp;&nbsp;&nbsp;- init</option>
@@ -100,10 +102,12 @@
<option value="//api/name/pointInside:withEvent:">&nbsp;&nbsp;&nbsp;&nbsp;- pointInside:withEvent:</option>
<option value="//api/name/recursiveSetPreventOrCancelDisplay:">&nbsp;&nbsp;&nbsp;&nbsp;- recursiveSetPreventOrCancelDisplay:</option>
<option value="//api/name/recursivelyDisplay">&nbsp;&nbsp;&nbsp;&nbsp;- recursivelyDisplay</option>
<option value="//api/name/recursivelyReclaimMemory">&nbsp;&nbsp;&nbsp;&nbsp;- recursivelyReclaimMemory</option>
<option value="//api/name/recursivelySetDisplaySuspended:">&nbsp;&nbsp;&nbsp;&nbsp;- recursivelySetDisplaySuspended:</option>
<option value="//api/name/removeFromSupernode">&nbsp;&nbsp;&nbsp;&nbsp;- removeFromSupernode</option>
<option value="//api/name/replaceSubnode:withSubnode:">&nbsp;&nbsp;&nbsp;&nbsp;- replaceSubnode:withSubnode:</option>
@@ -152,6 +156,8 @@
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/constrainedSizeForCalculatedSize">constrainedSizeForCalculatedSize</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/displaySuspended">displaySuspended</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/displaysAsynchronously">displaysAsynchronously</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/hitTestSlop">hitTestSlop</a></span></li>
@@ -162,8 +168,6 @@
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nodeLoaded">nodeLoaded</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/preventOrCancelDisplay">preventOrCancelDisplay</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/shouldRasterizeDescendants">shouldRasterizeDescendants</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/subnodes">subnodes</a></span></li>
@@ -192,6 +196,8 @@
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertRect:toNode:">convertRect:toNode:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/display">display</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/displayImmediately">displayImmediately</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/init">init</a></span></li>
@@ -210,10 +216,12 @@
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/pointInside:withEvent:">pointInside:withEvent:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/recursiveSetPreventOrCancelDisplay:">recursiveSetPreventOrCancelDisplay:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/recursivelyDisplay">recursivelyDisplay</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/recursivelyReclaimMemory">recursivelyReclaimMemory</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/recursivelySetDisplaySuspended:">recursivelySetDisplaySuspended:</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeFromSupernode">removeFromSupernode</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/replaceSubnode:withSubnode:">replaceSubnode:withSubnode:</a></span></li>
@@ -448,6 +456,18 @@ display.</p>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/display">&ndash;&nbsp;display</a></code>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/recursivelyDisplay">&ndash;&nbsp;recursivelyDisplay</a></code>
</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/displayImmediately">&ndash;&nbsp;displayImmediately</a></code>
@@ -456,13 +476,13 @@ display.</p>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/preventOrCancelDisplay">&nbsp;&nbsp;preventOrCancelDisplay</a></code>
<code><a href="#//api/name/displaySuspended">&nbsp;&nbsp;displaySuspended</a></code>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/recursiveSetPreventOrCancelDisplay:">&ndash;&nbsp;recursiveSetPreventOrCancelDisplay:</a></code>
<code><a href="#//api/name/recursivelySetDisplaySuspended:">&ndash;&nbsp;recursivelySetDisplaySuspended:</a></code>
</span>
@@ -617,6 +637,54 @@ calling -measure: on them in -calculateSizeThatFits:.</p><div class="warning"><p
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/displaySuspended" title="displaySuspended"></a>
<h3 class="subsubtitle method-title">displaySuspended</h3>
<div class="method-subsection brief-description">
<p>Prevent the node&rsquo;s layer from displaying.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL displaySuspended</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>A subclass may check this flag during -display or -drawInContext: to cancel a display that is already in
progress.</p>
<p>Defaults to NO. Does not control display for any child or descendant nodes; for that, use
-recursivelySetDisplaySuspended:.</p>
<p>If a setNeedsDisplay occurs while displaySuspended is YES, and displaySuspended is set to NO, then the
layer will be automatically displayed.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
@@ -841,7 +909,7 @@ well.</p></div>
<div class="method-subsection return">
<h4 class="method-subtitle parameter-title">Return Value</h4>
<p>YES if a view is loaded, or if isLayerBacked is YES and layer is not nil; NO otherwise.</p>
<p>YES if a view is loaded, or if layerBacked is YES and layer is not nil; NO otherwise.</p>
</div>
@@ -854,54 +922,6 @@ well.</p></div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/preventOrCancelDisplay" title="preventOrCancelDisplay"></a>
<h3 class="subsubtitle method-title">preventOrCancelDisplay</h3>
<div class="method-subsection brief-description">
<p>Prevent the node&rsquo;s layer from displaying.</p>
</div>
<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL preventOrCancelDisplay</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<p>A subclass may check this flag during -display or -drawInContext: to cancel a display that is already in
progress.</p>
<p>Defaults to NO. Does not control display for any child or descendant nodes; for that, use
-recursiveSetPreventOrCancelDisplay:.</p>
<p>If a setNeedsDisplay occurs while preventOrCancelDisplay is YES, and preventOrCancelDisplay is set to NO, then the
layer will be automatically displayed.</p>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
@@ -1025,7 +1045,7 @@ layer will be automatically displayed.</p>
<div class="method-subsection brief-description">
<p>Returns whether the view is synchronous.</p>
<p>Returns whether the node is synchronous.</p>
</div>
@@ -1380,6 +1400,47 @@ yet.</p>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/display" title="display"></a>
<h3 class="subsubtitle method-title">display</h3>
<div class="method-subsection brief-description">
<p>Calls -setNeedsDisplay and -displayIfNeeded on the node&rsquo;s backing store.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)display</code></div>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<div class="note"><p><strong>Note:</strong> This method must be called on the main thread but there are plans to allow this on any thread.</p></div>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
@@ -1883,30 +1944,22 @@ be expensive if result is not cached.</p></div>
</div>
<div class="section-method">
<a name="//api/name/recursiveSetPreventOrCancelDisplay:" title="recursiveSetPreventOrCancelDisplay:"></a>
<h3 class="subsubtitle method-title">recursiveSetPreventOrCancelDisplay:</h3>
<a name="//api/name/recursivelyDisplay" title="recursivelyDisplay"></a>
<h3 class="subsubtitle method-title">recursivelyDisplay</h3>
<div class="method-subsection brief-description">
<p>Prevent the node and its descendants' layer from displaying.</p>
<p>Call -display on the node and recursively on all subnodes, forcing the entire node hierarchy to be
displayed.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)recursiveSetPreventOrCancelDisplay:(id)<em>flag</em></code></div>
<div class="method-subsection method-declaration"><code>- (void)recursivelyDisplay</code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>flag</em></dt>
<dd><p>YES if display should be prevented or cancelled; NO otherwise.</p></dd>
</dl>
</div>
@@ -1918,16 +1971,6 @@ be expensive if result is not cached.</p></div>
<div class="method-subsection see-also-section">
<h4 class="method-subtitle">See Also</h4>
<ul>
<li><code><p><a href="#//api/name/preventOrCancelDisplay">@property preventOrCancelDisplay</a></p></code></li>
</ul>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
@@ -1963,7 +2006,7 @@ be expensive if result is not cached.</p></div>
<h4 class="method-subtitle">Discussion</h4>
<p>Clears backing stores and other memory-intensive intermediates.
If the node is removed from a visible hierarchy and then re-added, it will automatically trigger a new asynchronous display,
as long as preventOrCancelDisplay is not set.
as long as displaySuspended is not set.
If the node remains in the hierarchy throughout, -setNeedsDisplay is required to trigger a new asynchronous display.</p>
</div>
@@ -1975,7 +2018,62 @@ If the node remains in the hierarchy throughout, -setNeedsDisplay is required to
<h4 class="method-subtitle">See Also</h4>
<ul>
<li><code><p><a href="#//api/name/preventOrCancelDisplay">@property preventOrCancelDisplay</a> and setNeedsDisplay</p></code></li>
<li><code><p><a href="#//api/name/displaySuspended">@property displaySuspended</a> and setNeedsDisplay</p></code></li>
</ul>
</div>
<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">ASDisplayNode.h</code><br />
</div>
</div>
<div class="section-method">
<a name="//api/name/recursivelySetDisplaySuspended:" title="recursivelySetDisplaySuspended:"></a>
<h3 class="subsubtitle method-title">recursivelySetDisplaySuspended:</h3>
<div class="method-subsection brief-description">
<p>Prevent the node and its descendants' layer from displaying.</p>
</div>
<div class="method-subsection method-declaration"><code>- (void)recursivelySetDisplaySuspended:(id)<em>flag</em></code></div>
<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>flag</em></dt>
<dd><p>YES if display should be prevented or cancelled; NO otherwise.</p></dd>
</dl>
</div>
<div class="method-subsection see-also-section">
<h4 class="method-subtitle">See Also</h4>
<ul>
<li><code><p><a href="#//api/name/displaySuspended">@property displaySuspended</a></p></code></li>
</ul>
</div>
@@ -2108,7 +2206,7 @@ If replacementSubnode is nil, this method will throw an exception</p>
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2014 Facebook. All rights reserved. (Last updated: 2014-11-17)</span><br />
<p><span class="copyright">&copy; 2014 Facebook. All rights reserved. (Last updated: 2014-12-03)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 963)</a>.</span></p>