Releases: danielsaidi/SwiftUIKit
0.9.5
This version adds a UrlOpener
, as well as new extensions:
EdgeInsets+Edge
simplifies getting the inset for a certain edge.View+Screenshot
can be used to snapshot any SwiftUI view.View+Visible
has conditional extensions to hide or show a view.
0.9.4
This version adds a UrlOpener
, as well as new extensions:
EdgeInsets+Edge
simplifies getting the inset for a certain edge.View+Screenshot
can be used to snapshot any SwiftUI view.View+Visible
has conditional extensions to hide or show a view.
0.9.3
This version adds a DocumentCamera
view, which can be used to scan documents with the device camera.
0.9.2
This version adds a dismiss
function to PresentationContext
.
This means that these contexts get access to this function:
AlertContext
SheetContext
ToastContext
0.9.1
This version adds improved support for watchOS, tvOS and macOS.
The bump version process has been improved tp also add linting and a unit test confirmation.
0.9.0
There are now more convenient alert
, sheet
and toast
view modifiers, that take a context instead of a binding and a content.
This version contains more breaking changes for the toast components.
ToastContext
works just likeSheetContext
andAlertContext
.ToastContext
,SheetContext
andAlertContext
share a base class.- There is a new
ToastProvider
that can be used withToastContext
. - The
toast
modifier handles presenting and dismissing the toast. - The
Toast
view has been removed, since it's no longer needed.
You can now use any views with the toast context and modifier, so it should make the toast easier to understand and to use.
0.8.2
This release renames the alert and sheet Presentable
protocols to Provider
.
The old Presentable
protocols are marked as deprecated.
0.8.1
This release fixes invalid iOS platform version build problems and adds a Color+Random
extension.
0.8.0
This release:
- adds support for macOS, and disables a bunch of features that require UIKit.
- adjusts the
Toast
so that it fits better with the alert and sheet contexts. - adds a new
UIViewWrapper
that simplifies wrappingUIKit
views.
0.7.0
This release adds:
- A
DismissableView
view protocol that simplifies dismissing views programatically. - A
KeyboardAvoiding
modifier and view extension. - A
MultilineTextView
that wraps aUITextView
.