HubFramework v2.0.4 Release Notes
Release Date: 2016-10-25 // over 7 years ago-
โ Added
HUBComponentWithSelectionState
, that enables non- table & collection view cell components to respond to user interactions and render a selection state.HUBContentOperationActionPerformer
, that enables content operations to perform actions.- Actions can now be asynchronous and chained, by conforming to
HUBAsyncAction
. - Demo app now has a "Todo list" feature that demonstrates the new revamped action API.
๐ Changed
HUBViewController. visibleBodyComponentViews
now returns all visible components (both root & children), keyed on their index path.HUBComponentActionDelegate
is nowHUBActionPerformer
.HUBComponentActionPerformer.actionDelegate
is now.actionPerformer
.
Swift API:
- ๐
HUBComponentModelBuilder.forChildWithIdentifier("id")
is now.builderForChild(withIdentifier: "id")
. - ๐
HUBComponentModelBuilder.removeForChild(withIdentifier: "id")
is now.removeBuilderForChild(withIdentifier: "id")
.
๐ Fixed
- Component programming guide link to
HUBComponentModel
(thanks @joanromano!) - Using custom gesture recognizers on component views.
- โ Danger warning when tests didn't run (thanks @Antondomashnev!)
HUBImageLoader
implementations now don't have to track download durations manually.- 0๏ธโฃ
HUBDefaultImageLoader
now doesn't do a manual cache lookup. - โ Unit test code completion in Xcode.
HUBViewController
will now send a component'sUIView
as part of its delegate methods, instead of sending theHUBComponentCollectionViewCell
that wraps it.- โก๏ธ Crash that could occur when very rapid content operation updates were performed, due to a batch update inconsistency.