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

1.2

Compare
Choose a tag to compare
@appleguy appleguy released this 22 May 09:22
· 3685 commits to master since this release

AsyncDisplayKit 1.2 has 209 commits with 25 committers - just since 1.1.1!

Thank you to all the members of the community who contributed, both via reports and diffs. Keep the feedback coming, as it's leading to great new things.

Major additions in AsyncDisplayKit 1.2

  • ASEditableTextNode provides a flexible, efficient, and animation-friendly editable text component. New EditableText sample project.
  • ASScrollNode provides a convenience wrapper of UIScrollView, so that asynchronous layout can operate across a contiguous node hierarchy.
  • ASBasicImageDownloader provides a convenient option for user-driven image loading without integrating with a custom networker.
  • Significant implementation and API additions to ASCollectionView and ASTableView:
  • Introduction of the “Network Range” to help you download content (such as images) ahead of when the user needs it. Implement -fetchRemoteData on your subclasses to participate.
  • Introduction of ASBatchContext / “Batch Fetch” callbacks to help you trigger paginated data requests from your server or database.

Minor improvements

  • Touch handling within ASCellNode is now properly hooked up.
  • ASControlNode touch handling within UITableViews now works properly.
  • Wrapping standard views and layers is now easier than ever with -initWithViewBlock: and -initWithLayerBlock:, so classes that need custom initialization can be wrapped without subclassing.
  • -addSubnode: is implemented on UIView and CALayer as a category method.
  • ASTextNode now supports .exclusionPaths and .maximumLineCount.
  • Significantly expanded test coverage

New subclass hooks

  • -reclaimMemory has been broken up into -clearContents and -clearFetchedData.-reclaimMemory` is still callable, but now deprecated and may not be called by the framework.

Known issues

  • .asyncDataFetching on ASTableView and ASCollectionView is unreliable when performing edits on the data source during user interaction. Use the default option (NO) if you edit the data source while these views are visible.