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.7
Name Modified Size InfoDownloads / Week
Parent folder
Hub Framework 2.0.7 source code.tar.gz 2016-12-04 4.8 MB
Hub Framework 2.0.7 source code.zip 2016-12-04 5.2 MB
README.md 2016-12-04 2.5 kB
Totals: 3 Items   10.0 MB 0

Added

  • HUBManager now has a convenience initializer that makes it a lot simpler to set up the framework in an app.
  • You can now easily create view controllers by only having to supply an array of content operations & a feature title.
  • You can now optionally place body components under a header component, just like how navigation bars work.
  • HUBViewController now has a reload API, that reloads its content (regardless of any reload policy). Thanks to @zhubofei for implementing this!
  • A HUBViewController delegate now gets notified whenever a component was reused.
  • You can now assign customData to a component's image data (HUBComponentImageData). Thanks to @zhubofei for helping out on this!
  • You can now set local component images through JSON.
  • A new content operation implementation (HUBBlockContentOperation) enables you to easily create synchronous content operations using a block.
  • You can now unregister any previously registered custom JSON schemas.
  • There's a new Concept Guide, that gives you an alphabetical reference to all Hub Framework concepts.

Fixed

  • A bug that could cause a header component to end up in an invalid state when its view controller was reloaded.
  • A bug that could cause invalid component adjustment if only one component existed. Thanks to @aliak00 for fixing this!
  • A bug that could cause the callback to be called too soon when performing programmatic scrolling.
  • A bug that would cause some gesture recognizers to be retained for components that have been removed from a view controller.
  • A memory leak that could leave certain components retained even after they were removed from a view controller.
  • A crash that could occur if a view model was rapidly reloaded while a view controller was busy rendering.
  • Components conforming to HUBComponentContentOffsetObserver no longer get called multiple times for the same content offset.
  • HUBComponentFallbackHandler is now nicer to use in Swift, thanks to fixed nullability annotations.
  • Header components are now placed using proper margin instead of content insets, to play nicer with external systems that might rely on content insets.
  • Removed warnings for Xcode 8.1.
  • hublive now restores the original text color in your terminal after printing an error. Thanks to @mpluders for fixing this!
  • A number casting issue that prevented the framework to be compiled for 32 bit platforms without overriding some build settings.
Source: README.md, updated 2016-12-04