HubFramework v2.0.6 Release Notes

Release Date: 2016-11-21 // over 7 years ago
  • โž• 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.