| Name | Modified | Size | Downloads / 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
HUBContentOperationWithPaginatedContentand 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
HUBComponentWithScrollingprotocol). customDatamay now be specified when a child component is selected.HUBViewModelLoadernow has aisLoadingproperty.HUBViewControllerDelegatehas a newviewControllerShouldStartScrollingAPI that lets you conditionally enable/disable scrolling.HUBViewModelBuildernow has a convenience API for setting custom data values:setCustomDataValue:forKey:.
Removed
HUBViewModel'sextensionURLproperty has been removed in favor of the newHUBContentOperationWithPaginatedContentAPI.HUBViewControllerno 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
HUBViewControllerwas laid out while the app was backgrounded. HUBViewControllernow 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.
HUBViewControlleris now exposed a concrete class, making all of its APIs usable from Swift.