Skip to content

Releases: danielsaidi/SwiftUIKit

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.

0.6.0

02 Sep 08:10
Compare
Choose a tag to compare

This release adds:

  • An AlertContext that simplifies working with alerts.
  • A SheetContext that simplifies working with modal sheets.
  • A QrCodeGenerator and a StandardQrCodeGenerator implementation.

0.5.0

02 Sep 08:10
Compare
Choose a tag to compare

This release adds:

  • An ImagePicker that can be used to present a UIImagePickerController.
  • An FilePicker that can be used to present a UIDocumentPickerViewController.
  • An ShareSheet that can be used to present a UIActivityViewController.
  • An UserDefaultsPersisted property wrapper that lets you persist data to UserDefaults.

0.4.2

30 Mar 13:24
Compare
Choose a tag to compare

This release changes the View geometry extensions and replaces bindGeometry(to: ...) with:

  • bindSafeAreaInsets(to: ...)
  • bindSize(to: ...)

You can use them like this:

@State private var size: CGSize = .zero
@State private var size: CGSize = .zero

UIColor.red.bindGeometry(to: $height) { $0.size.height }

0.4.1

30 Mar 13:24
Compare
Choose a tag to compare

This release makes the podspec is updated to require Swift 5.2.