mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-06-19 06:26:13 +08:00
Update upgrading.md
This commit is contained in:
@@ -12,13 +12,15 @@ AsyncDisplayKit **2.0 Beta** is (almost) here! Here's a brief summary of the cha
|
||||
|
||||
- `.usesImplicitHierarchyManagement` renamed to `.automaticallyManagesSubnodes`
|
||||
- `ASRelativeDimensionTypePercent` and associated functions renamed to use `Fraction` to be consistent with Apple terminology.
|
||||
-
|
||||
|
||||
**Updated Interface State callback method names**
|
||||
|
||||
The new names are meant to unify the range update methods to show how they relate to each other & hopefully be a bit more self explanatory:
|
||||
|
||||
- `didEnter/ExitPreloadState`
|
||||
- `didEnter/ExitDisplayState`
|
||||
- `didEnter/ExitVisibleState`
|
||||
|
||||
These new methods replace the following:
|
||||
|
||||
- `loadStateDidChange:(BOOL)inLoadState`
|
||||
|
||||
Reference in New Issue
Block a user