Download Latest Version Hub Framework 2.0.9 source code.tar.gz (4.8 MB)
Email in envelope

Get an email when there's a new version of Hub Framework

Home / 2.0.6
Name Modified Size InfoDownloads / Week
Parent folder
Hub Framework 2.0.6 source code.tar.gz 2016-11-18 4.8 MB
Hub Framework 2.0.6 source code.zip 2016-11-18 5.2 MB
README.md 2016-11-18 2.1 kB
Totals: 3 Items   10.0 MB 0

Added

  • Pagination support! Simply make your content operation conform to HUBContentOperationWithPaginatedContent and get pagination/infinite scrolling for free.
  • HUBComponentModelBuilder: All child component model builders can now be retrieved using buildersForChildrenInGroupWithIdentifier.
  • Programmatic scrolling now support nested components (using the HUBComponentWithScrolling protocol).
  • customData may now be specified when a child component is selected.
  • HUBViewModelLoader now has a isLoading property.
  • HUBViewControllerDelegate has a new viewControllerShouldStartScrolling API that lets you conditionally enable/disable scrolling.
  • HUBViewModelBuilder now has a convenience API for setting custom data values: setCustomDataValue:forKey:.

Removed

  • HUBViewModel's extensionURL property has been removed in favor of the new HUBContentOperationWithPaginatedContent API.
  • HUBViewController no longer calls its scroll handler when the view was scrolled programmatically.

Fixed

  • A bug that could cause header and overlay components to flash when the view was reloaded.
  • A bug that would cause the background color of header & overlay components to be overriden when the background color of the view controller was set.
  • A bug that could cause the view to end up having incorrect content insets.
  • A bug that would cause header & overlay components to be re-configured although they were serving the same model.
  • A bug that could cause invalid visable components to be returned by HUBViewController, when components were being reused.
  • A crash that could occur if a HUBViewController was laid out while the app was backgrounded.
  • HUBViewController now notifies its delegate when header & overlay components appear, just like it does with body components.
  • Custom gesture recognizers can now be used on child components.
  • Unwanted warnings are now also suppressed on Xcode 8.1 (thanks @aliak00!) + Xcode 8.2.
  • HUBViewController is now exposed a concrete class, making all of its APIs usable from Swift.
Source: README.md, updated 2016-11-18