Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

1.9.1

Compare
Choose a tag to compare
@appleguy appleguy released this 09 Nov 04:28
· 2991 commits to master since this release

AsyncDisplayKit 1.9.1 has several useful refinements over 1.9, and is recommended for all production users of ASDK. Relative to 1.9, just a week ago, it has:

28 commits from 5 contributors
64 files changed with 1,795 lines added and 95 lines deleted

  • Fantastic new example app in examples/SocialAppLayout, showcasing how to use ASLayoutSpec in a variety of circumstances that should be familiar to most app developers. Dig in and look at the -layoutSpecThatFits: methods!
  • Improved ASCellNode Resizing / Relayout. Now simply by doing -setNeedsLayout on an ASCellNode, you can even change the size in its containing ASTableView or ASCollectionView! If you call -layoutIfNeeded inside an animation block, the change will animate for you. Gone are the days where it is tough and frustrating to handle cell resizing with UIKit.
  • New class ASTableNode to go alongside ASCollectionNode (added previously). It makes it easier to add an ASTableView as part of a node hierarchy. Example: using ASCollectionView as a full-screen horizontal pager, you might use an ASTableNode inside each of the collection's ASCellNodes. This class does not yet have the ability to size itself based on its content, so take care to position it using manual layout or an ASStaticLayoutSpec. It does work with Intelligent Preloading, like ASCollectionNode.
  • Bug fix for an unusual cell content blanking issue when the content was scrolled down after a relatively large new cells is inserted above existing cells.
  • Bug fix for a memory issue where a small number of nodes could have been orphaned and not deallocated in apps that use row / item deletion calls (does not appear to affect reloads or insertions).

Full commit list here: 1.9...master

Thanks for using AsyncDisplayKit! I'd love to hear your questions or suggestions in a Github Issue.

screen shot 2015-11-08 at 8 13 16 pm

screen shot 2015-11-08 at 8 13 25 pm