Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

Hub Framework 2.0.5

Compare
Choose a tag to compare
@JohnSundell JohnSundell released this 30 Oct 12:37
· 758 commits to master since this release

Added

  • Live editing! You can now easily prototype new UIs using a local JSON file. See the live editing guide for more info.
  • Components can now observe actions (using the HUBComponentActionObserver protocol).
  • HUBViewController now has a isViewScrolling property.
  • You can now cancel any ongoing highligh/selection in a HUBViewController programmatically using cancelComponentSelection.

Removed

  • HUBContentOperationActionObserver's observation method no longer has a viewURI parameter (since it is included in HUBActionContext).

Fixed

  • A bug in the diffing algorithm that could generate invalid indexes under some circumstances.
  • Component hit testing when performed after the view has been scrolled.
  • Comparing two HUBComponentModel instances for equality is now slightly more efficient.
  • Objective-C block safety in some places (thanks @tammofreese!).
  • HUBViewController's delegate called before header & overlay components were setup.
  • A race condition that could cause all components to be misaligned during the first launch of the app.