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

Hub Framework 2.0.2

Compare
Choose a tag to compare
@JohnSundell JohnSundell released this 10 Oct 18:49
· 964 commits to master since this release

Added

  • UINavigationItem support. Set it on HUBViewModelBuilder, and the framework will assign it to the associated UIViewController.
  • Convenience API to create view controllers without having to register a feature first.
  • HUBBlockContentOperationFactory, a concrete content operation factory implementation that uses a block to create operations. Useful when a custom factory is not needed.
  • Components conforming to HUBComponentContentOffsetObserver are now notified when they appear on the screen.
  • Child components can now use HUBComponentContentOffsetObserver as well.

Removed

  • HUBViewModel.title removed in favor of HUBViewModel.navigationItem.title.

Fixed

  • Documentation issues (thanks @jerball, @vijaytholpadi & @hewigovens!)
  • UI state management for components that were just created.
  • View controller content offset calculation after updates.
  • Potential crash & bug when performing partial updates of a view.