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

Releases: facebookarchive/AsyncDisplayKit

1.1.1

15 Jan 01:53
Compare
Choose a tag to compare

See also the AsyncDisplayKit 1.1 release notes. Fixes included in in this release:

  • Fix assorted ASRangeController and ASFlowLayoutController edge case crashes.
  • Fix incorrect touch handling logic where unhandled events were being forwarded up the view hierarchy instead of the inheritance hierarchy; this fixes a selection / highlight issue in ASTableView (#188, #199).
  • Improve Core Graphics call safety in ASTextNodeRenderer (#190).
  • Fix regression that caused ASTableView and ASCollectionView to not display any nodes until the entire data source had been processed (#200).
  • Move ASNetworkImageNode image loading entirely off the main thread — NSURLSession, which is used by the default ASBasicImageDownloader, blocks enqueueing network requests on disk I/O (#148).
  • ASMultiplexImageNode was unconditionally triggering image downloads in defiance of the working range. It has been reprimanded. (#178)
  • Fix potential deadlock in ASDisplayNodeScreenScale() (#183).
  • Prevent placeholders from appearing when content has already been rendered (#213).
  • Fix sizing issue in ASTextNode on iPhone 6 Plus (#219).
  • Fix ASMultiplexImageNode Swift subclasses (#220).

1.1

06 Jan 00:25
Compare
Choose a tag to compare
1.1

Major additions in AsyncDisplayKit 1.1

  • ASMultiplexImageNode. This image node can load and display progressively higher-quality variants of an image over a slow cell network, letting you quickly show a low-resolution photo while the full size downloads.
  • ASNetworkImageNode. Simple, single-URL counterpart to the Multiplex node.
  • ASBasicImageDownloader. Lightweight NSURLSession-powered downloader for the new image nodes.
  • ASCollectionView. The UICollectionView counterpart to ASTableView.
  • Editing support for ASCollectionView and ASTableView: asynchronous cell and section insertion, deletion, movement, and reloading.
  • Easy-to-use realistic placeholder support for your custom nodes, with out-of-the-box Paper-esque ASTextNode placeholders. Check out the Placeholders example project!

Minor improvements

  • Add .tintColor and .cornerRadius to ASDisplayNode (#75, #103). Note that use of corner radii can incur a substantial performance cost, so use this newfound power wisely… :]
  • Fix misaligned ASTextNode highlights in UIScrollViews (#84).
  • Fix Swift enum support for ASControlNodeEvent (#87).
  • Add background colour and selection style support to ASCellNode.
  • Fix bug in -[ASDisplayNode convertRect:fromNode:] (#102).
  • Improve ASTextNode highlight animation (#111).
  • Add support for fractional working range tuning parameters (#112).
  • Add ASImageNodeRoundBorderModificationBlock() for drop-in rounded image support.
  • Fix issues with ASDISPLAYNODE_DELAY_DISPLAY.
  • Fix incorrect display scale when ASImageNode is used with UIViewContentModeCenter (#144).
  • Automatically setNeedsDisplay when updating a node's background colour or opacity (#153).

Breaking API changes

  • Rename ASDisplayNode's .inWindow property to .inHierarchy.
  • Rename .preventOrCancelDisplay to .displaySuspended and -[ASDisplayNode recursiveSetPreventOrCancelDisplay:] to -recursivelySetDisplaySuspended:.
  • Add a point parameter to ASTextNode delegate methods. -textNode:shouldHighlightLinkAttribute:value: and -textNode:shouldLongPressLinkAttribute:value: have been changed to -textNode:...value:atPoint: (#85).
  • ASDisplayNodeInternal.h has been completely overhauled. …Wait, you aren't supposed to be messing around in there!

New subclass hooks

  • -displayWillStart (so -displayDidFinish stops feeling so lonely).
  • -subnodeDisplayWillStart and -subnodeDisplayWillFinish.
  • -placeholderImage.

Known issues

  • ASTableView and ASCollectionView don't support node-backed header / footer / supplementary views. Mixing synchronously-rendered header / footer / supplementary views with asynchronous -reloadData calls can lead to the two types of content rendering out of order (#186).
  • ASMultiplexImageNode downloads are triggered immediately upon setting the imageIdentifiers property, rather than being driven by the working range (#178).
  • ASNetworkImageNode in combination with NSURLSession (e.g., ASBasicImageDownloader) can use the main thread inefficiently (#148).

1.1β

16 Dec 02:04
Compare
Choose a tag to compare
1.1β Pre-release
Pre-release

Major additions in AsyncDisplayKit 1.1

  • ASMultiplexImageNode. This image node can load and display progressively higher-quality variants of an image over a slow cell network, letting you quickly show a low-resolution photo while the full size downloads.
  • ASNetworkImageNode. Simple, single-URL counterpart to the Multiplex node.
  • ASBasicImageDownloader. Lightweight NSURLSession-powered downloader for the new image nodes.
  • ASCollectionView. The UICollectionView counterpart to ASTableView.
  • Editing support for ASCollectionView and ASTableView: asynchronous cell and section insertion, deletion, movement, and reloading.
  • Easy-to-use realistic placeholder support for your custom nodes, with out-of-the-box Paper-esque ASTextNode placeholders. Check out the Placeholders example project!

Minor improvements

  • Add .tintColor and .cornerRadius to ASDisplayNode (#75, #103). Note that use of corner radii can incur a substantial performance cost, so use this newfound power wisely… :]
  • Fix misaligned ASTextNode highlights in UIScrollViews (#84).
  • Fix Swift enum support for ASControlNodeEvent (#87).
  • Add background colour and selection style support to ASCellNode.
  • Fix bug in -[ASDisplayNode convertRect:fromNode:] (#102).
  • Improve ASTextNode highlight animation (#111).
  • Add support for fractional working range tuning parameters (#112).
  • Add ASImageNodeRoundBorderModificationBlock() for drop-in rounded image support.
  • Fix issues with ASDISPLAYNODE_DELAY_DISPLAY.
  • Fix incorrect display scale when ASImageNode is used with UIViewContentModeCenter (#144).
  • Automatically setNeedsDisplay when updating a node's background colour or opacity (#153).

Breaking API changes

  • Rename ASDisplayNode's .inWindow property to .inHierarchy.
  • Rename .preventOrCancelDisplay to .displaySuspended and -[ASDisplayNode recursiveSetPreventOrCancelDisplay:] to -recursivelySetDisplaySuspended:.
  • Add a point parameter to ASTextNode delegate methods. -textNode:shouldHighlightLinkAttribute:value: and -textNode:shouldLongPressLinkAttribute:value: have been changed to -textNode:...value:atPoint: (#85).
  • ASDisplayNodeInternal.h has been completely overhauled. …Wait, you aren't supposed to be messing around in there!

New subclass hooks

  • -displayWillStart (so -displayDidFinish stops feeling so lonely).
  • -subnodeDisplayWillStart and -subnodeDisplayWillFinish.
  • -placeholderImage.

1.0.1

22 Oct 23:12
Compare
Choose a tag to compare
  • Add missing ASDISPLAYNODE_REQUIRES_SUPER clang annotations (#51).
  • Disable ASTableView's unwanted slide-in animation (#30, #67).
  • Fix ASControlNode "send to first responder" support (#61).
  • Improve ASRangeController's dealloc-safety (#57).
  • Improve documentation coverage (#64, #65).
  • Remove ASImageNode's erroneous thread affinity assertions (#57).
  • Support using ASDK as a static library without CocoaPods (#54).

1.0

15 Oct 16:27
Compare
Choose a tag to compare
1.0

Initial public release.

1.0-beta2

01 Oct 23:42
Compare
Choose a tag to compare
1.0-beta2 Pre-release
Pre-release
Beta 2.

1.0beta

01 Oct 23:42
Compare
Choose a tag to compare
1.0beta Pre-release
Pre-release
Minor README tweaks.