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 usingbuildersForChildrenInGroupWithIdentifier
. - ๐ Programmatic scrolling now support nested components (using the
HUBComponentWithScrolling
protocol). customData
may now be specified when a child component is selected.HUBViewModelLoader
now has aisLoading
property.HUBViewControllerDelegate
has a newviewControllerShouldStartScrolling
API that lets you conditionally enable/disable scrolling.HUBViewModelBuilder
now has a convenience API for setting custom data values:setCustomDataValue:forKey:
.
โ Removed
- ๐
HUBViewModel
'sextensionURL
property has been removed in favor of the newHUBContentOperationWithPaginatedContent
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.
- ๐ Pagination support! Simply make your content operation conform to