- [Change] Move to Flow version 1.8.4
- [Bugfix] Fix compile time error in
public extension SignalProvider where Value: Collection {
for swift 5.2 - [Change] Remove
noTrailingClosure: () = ()
frominit<Result>
forPresentation
to avoidAmbiguous use of 'init' for Signals
compile time errors on call site
- [Addition] Make swipe-to-dismiss blockable through protocol conformance.
- [Addition] Extracted the modal dismiss setup to a separate function, to be able to supply a custom presentation controller if needed.
- [Addition] Make it possible to embed a Presentable wrapped in a navigation controller within another view.
- [Bug fix] View controller's modal presentation preferences not used when it's embedded in a navigation controller during presentation.
- [Bug fix] Dissmissal happends on worker threads if the result future is mutated by the .succeed() or .fail() methods
- [Addition] Add a new
isCollapsedState
signal to DualNavigationControllersSplitDelegate that has anil
value until the collapsed state is known. OldisCollapsedSignal
is deprecated. - [Addition] Add a new
init(collapsedState:)
method to DualNavigationControllersSplitDelegate that takes a future to get notified of a known collapsed state. Theinit
without parameters is deprecated. - [Change] Deprecate MasterDetailSelection's init with
isCollapsed
signal in favour of init that can handle anil
collapsed state - [Bug fix] DualNavigationControllersSplitDelegate's
isCollapsedSignal
didn't signalfalse
when moving from collapsed state to not collapsed (multitasking/rotation) - [Bug fix] DualNavigationControllersSplitDelegate's
isCollapsedSignal
didn't signal anything on iOS 13 (issue #54)
- [Bug fix] Revert a change of the default SplitVC delegate
isCollapsed
value that doesn't work as expected because it's used before the vc is added to the screen and the value is not reliable
- [Bug fix] Fixed a recursive delegate call issue in modal presentstions.
- [Bug fix] Added a workaround for a navigation bar layout issue in iOS 13.
- [Addition] Added support for Swift Package Manager.
- [Big fix] Fix presentation lifecycle management on iOS 13 when swiping down a modal sheet
- [Addition] Expose a custom adaptive presentation delegate with reactive interface
- Update Flow dependency and pin it to a compatible version
- [Bug fix] Add DEBUG compiler flag in Debug mode to enable the debug-only functionality
- [Addition] Expose raw presentation events in addition to logs
Swift 5 update
- Add
willShowViewControllerSignal
toUINavigationController
that reflects UINavigationControllerDelegate'snavigationController(_:willShow:animated:)
delegate method.
- Add support for Signals in Presentation onValue
- Fix MaterDetailSelection retain cycle
- Add
materialize
overload for void result type andmaterialize(into:)
for disposable result type - CI aditions: SwiftLint,CircleCi configs, Xcode 10 project updates
- Add a static function
prefersNavigationBarHidden(Bool)
to PresentationOptions to return option based on navigation bar preference passed as a Bool. - Implement behaviour to support fallbacks on current client implementations
- Implement a use-case in
Examples/StylesAndOptions/Example.xcodeproj
and add UI test to secure the new use-case.
- Bugfix: When disposing the bag passed to
present
'sconfigure
closurepresent
's returned future was not completed, hence resulting in the presented view controller being leaked.
- Remove Carthage copy phase to avoid iTunes connect invalid Bundle error [#10]
- Update Flow to 1.3
- Updated modallyPresentQueued to accept an options parameter instead of animated and improved handling of
.failOnBlock
. Old version has been deprecated.
- Renamed
dismiss()
toinstallDismiss()
- Added more configurable
modally
presentation style. E.g..modally(presentationStyle: .formSheet)
- Added support to present a popover from a bar button item as well.
- Fixed issue where presenting a presentable returning a signal would not terminate the returned finite signal if externally dismissed (such as when dismissing from installed dismiss button),
resulting in a potential memory leak (view controller not being released).
- Bumped to require Flow 1.2.
This is the first public release of the Presentation library.