OverlayContainerPresentationController
: An abstract class that can be used to manage the transition animations and the presentation of overlay containers onscreen.OverlayContainerSheetPresentationController
: AnOverlayContainerPresentationController
subclass that adds a dimming layer over the background content and a drag-to-dismiss & tap-to-dismiss gestures.
- The overlay container view autorizing mask is now [.flexibleHeight, .flexibleWidth]
OverlayContainerPresentationController
: An abstract class that can be used to manage the transition animations and the presentation of overlay containers onscreen.OverlayContainerSheetPresentationController
: AnOverlayContainerPresentationController
subclass that adds a dimming layer over the background content and a drag-to-dismiss & tap-to-dismiss gestures.
- Avoid view loading when setting delegate
- Add
availableSpace
property - Fix #49: Lay out the view before animating the view
- Mark delegate as weak
OverlayContainer
class is now openPassThroughView
class is now open
- The status bar style derives from the overlay controller
- Swift Package Manager support
- Support Swift 4.2 & 5
- Merge PR #34
- Use cocoapods 1.7 podspec format
- All the translations are now deferred to the next layout pass. The translations can now be scheduled right after the initialization of the container. Furthermore the layout will not break if the container move the overlay or invalidate its notch heights in response to a size change.
SpringOverlayTranslationAnimationController
almost nullifies its damping value when the container has a rigid style to avoid the panel to be lifted above the bottom of the screen when an animated transition occurs.- New overlay style
expandableHeight
- New delegate tracking API:
willTranslateOverlay
,didMoveOverlay
,willMoveOverlay
,willEndDraggingOverlay
,willStartDraggingOverlay
invalidateNotchHeight
uses the target notch policy to determine where to go by default
- Use Cocoapods 1.6.1
- Add
canReachNotchAt
to disable or enable notches on the fly - OverlayContainer now uses the last view controller of its viewControllers as the overlay view controller. It stacks the other view controllers on top of each other, if any, and adds them underneath the overlay view controller.
- Handle a new edge case: the overlay container has only one notch
- Add completion block to
moveOverlay
- Hide
UIViewController+Children
methods
- Fix Xcode 10.2 compilation (Nimble & Quick update)
- Hide Carthage test dependancies
- Fix the cleaning of the translation drivers when a new driving scroll view is set.
- Add ability to invalidate the current height of the overlay notches
- Add Carthage support
- Fix ability to change response within SpringAnimation
- Fix scrolling edge cases
- Add unit tests
- Remove initial velocity consideration in
SpringOverlayTranslationAnimationController
(Issue #3)
First release