Skip to content

0.7.0

Compare
Choose a tag to compare
@erichoracek erichoracek released this 10 Dec 00:49
· 85 commits to master since this release

Added

  • Added a weak reference from TopBarContainer / BottomBarContainer to their parent bar installer
  • Added a BarInstallerConfiguration type to allow both global and per-instance configuration of
    bar installers.
  • Added an applyBars closure to BarInstallerConfiguration to allow consumers to configure when
    bars are applied to the underlying BarContainer by a bar installer, e.g. to defer bar model
    updates that might conflict with an in-flight shared element transition.
  • Support for hitting 120 FPS on iPhone ProMotion displays when programmatically scrolling to an
    item in a collection view.
  • Added itemModel(…), barModel(…) methods to host a SwiftUI View within an Epoxy container and
    the swiftUIView(…) method to host an EpoxyableView within a SwiftUI View
  • Added a SwiftUI environment value for requesting size invalidation of the containing Epoxy collection view cell.

Fixed

  • Fixes an issue that could cause CollectionView scroll animation frames to have an incorrect
    content offset when paired with a non-zero adjustedContentInset.
  • Fixes an issue that could cause VGroupView and HGroupView to grow too tall when nested in
    containers that give them a larger height than their natural height.
  • Fixes a bug in the KeyboardPositionWatcher that would consider an even slightly offscreen view
    as having a keyboard overlap when the keyboard is dismissed, resulting in incorrect keyboard
    offsets.
  • Fixes an issue when mutating state synchronously does not pick up the current SwiftUI transaction.
  • Fixes a bug where the avoidsKeyboard parameter would be disregarded in a BottomBarInstaller
    initializer.

Changed

  • Removed the default bar installer behavior where bar model updates were deferred while a view
    controller transition is in progress.