mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-29 08:39:00 +08:00
remove Beta tag from IHM
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Implicit Hierarchy Management <b><i>(Beta)</i></b>
|
||||
title: Implicit Hierarchy Management
|
||||
layout: docs
|
||||
permalink: /docs/implicit-hierarchy-mgmt.html
|
||||
prevPage: batch-fetching-api.html
|
||||
@@ -10,12 +10,6 @@ Enabling Implicit Hierarchy Management (IHM) is required to use the <a href="lay
|
||||
|
||||
When enabled, IHM means that your nodes no longer require `addSubnode:` or `removeFromSupernode` method calls. The presence or absence of the IHM node _and_ its subnodes is completely determined in its `layoutSpecThatFits:` method.
|
||||
|
||||
### Enabling IHM ###
|
||||
<ul>
|
||||
<li>import `"ASDisplayNode+Beta.h"`. <b><i>This feature will soon be enabled by default for all ASDisplayNodes using ASLayouts.</b></i></li>
|
||||
<li>set `.usesImplicitHierarchyManagement = YES` on the node that you would like managed.</li>
|
||||
</ul>
|
||||
|
||||
### Example ###
|
||||
<br>
|
||||
Consider the following intialization method from the PhotoCellNode class in <a href="https://github.com/facebook/AsyncDisplayKit/tree/master/examples/ASDKgram">ASDKgram sample app</a>. This ASCellNode subclass produces a simple social media photo feed cell.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Upgrading to ASDK 2.0 <b><i>(New)</i></b>
|
||||
title: Upgrading to 2.0 <b><i>(New)</i></b>
|
||||
layout: docs
|
||||
permalink: /docs/upgrading.html
|
||||
prevPage: installation.html
|
||||
|
||||
Reference in New Issue
Block a user