mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-07 00:12:48 +08:00
Regen on 8bb78ff90c.
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
|
||||
<option value="//api/name/constrainedSizeForCalculatedSize"> constrainedSizeForCalculatedSize</option>
|
||||
|
||||
<option value="//api/name/displaySuspended"> displaySuspended</option>
|
||||
|
||||
<option value="//api/name/displaysAsynchronously"> displaysAsynchronously</option>
|
||||
|
||||
<option value="//api/name/hitTestSlop"> hitTestSlop</option>
|
||||
@@ -53,8 +55,6 @@
|
||||
|
||||
<option value="//api/name/nodeLoaded"> nodeLoaded</option>
|
||||
|
||||
<option value="//api/name/preventOrCancelDisplay"> preventOrCancelDisplay</option>
|
||||
|
||||
<option value="//api/name/shouldRasterizeDescendants"> shouldRasterizeDescendants</option>
|
||||
|
||||
<option value="//api/name/subnodes"> subnodes</option>
|
||||
@@ -82,6 +82,8 @@
|
||||
|
||||
<option value="//api/name/convertRect:toNode:"> - convertRect:toNode:</option>
|
||||
|
||||
<option value="//api/name/display"> - display</option>
|
||||
|
||||
<option value="//api/name/displayImmediately"> - displayImmediately</option>
|
||||
|
||||
<option value="//api/name/init"> - init</option>
|
||||
@@ -100,10 +102,12 @@
|
||||
|
||||
<option value="//api/name/pointInside:withEvent:"> - pointInside:withEvent:</option>
|
||||
|
||||
<option value="//api/name/recursiveSetPreventOrCancelDisplay:"> - recursiveSetPreventOrCancelDisplay:</option>
|
||||
<option value="//api/name/recursivelyDisplay"> - recursivelyDisplay</option>
|
||||
|
||||
<option value="//api/name/recursivelyReclaimMemory"> - recursivelyReclaimMemory</option>
|
||||
|
||||
<option value="//api/name/recursivelySetDisplaySuspended:"> - recursivelySetDisplaySuspended:</option>
|
||||
|
||||
<option value="//api/name/removeFromSupernode"> - removeFromSupernode</option>
|
||||
|
||||
<option value="//api/name/replaceSubnode:withSubnode:"> - 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">– display</a></code>
|
||||
</span>
|
||||
|
||||
|
||||
</li><li>
|
||||
<span class="tooltip">
|
||||
<code><a href="#//api/name/recursivelyDisplay">– recursivelyDisplay</a></code>
|
||||
</span>
|
||||
|
||||
|
||||
</li><li>
|
||||
<span class="tooltip">
|
||||
<code><a href="#//api/name/displayImmediately">– displayImmediately</a></code>
|
||||
@@ -456,13 +476,13 @@ display.</p>
|
||||
|
||||
</li><li>
|
||||
<span class="tooltip">
|
||||
<code><a href="#//api/name/preventOrCancelDisplay"> preventOrCancelDisplay</a></code>
|
||||
<code><a href="#//api/name/displaySuspended"> displaySuspended</a></code>
|
||||
</span>
|
||||
<span class="task-item-suffix">property</span>
|
||||
|
||||
</li><li>
|
||||
<span class="tooltip">
|
||||
<code><a href="#//api/name/recursiveSetPreventOrCancelDisplay:">– recursiveSetPreventOrCancelDisplay:</a></code>
|
||||
<code><a href="#//api/name/recursivelySetDisplaySuspended:">– 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’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’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’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">© 2014 Facebook. All rights reserved. (Last updated: 2014-11-17)</span><br />
|
||||
<p><span class="copyright">© 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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user