Skip to content

Releases: danielsaidi/SwiftUIKit

0.9.5

11 Oct 21:48
Compare
Choose a tag to compare

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

05 Oct 19:34
Compare
Choose a tag to compare

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

14 Sep 19:28
Compare
Choose a tag to compare

This version adds a DocumentCamera view, which can be used to scan documents with the device camera.

0.9.2

14 Sep 18:35
Compare
Choose a tag to compare

This version adds a dismiss function to PresentationContext.

This means that these contexts get access to this function:

  • AlertContext
  • SheetContext
  • ToastContext

0.9.1

05 Sep 09:26
Compare
Choose a tag to compare

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

03 Sep 12:03
Compare
Choose a tag to compare

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 like SheetContext and AlertContext.
  • ToastContext, SheetContext and AlertContext share a base class.
  • There is a new ToastProvider that can be used with ToastContext.
  • 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

02 Sep 19:44
Compare
Choose a tag to compare

This release renames the alert and sheet Presentable protocols to Provider.

The old Presentable protocols are marked as deprecated.

0.8.1

02 Sep 08:09
Compare
Choose a tag to compare

This release fixes invalid iOS platform version build problems and adds a Color+Random extension.

0.8.0

02 Sep 08:10
Compare
Choose a tag to compare

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 wrapping UIKit views.

0.7.0

02 Sep 08:10
Compare
Choose a tag to compare

This release adds:

  • A DismissableView view protocol that simplifies dismissing views programatically.
  • A KeyboardAvoiding modifier and view extension.
  • A MultilineTextView that wraps a UITextView.