SwiftMessages Versions Save

A very flexible message bar for UIKit and SwiftUI.

10.0.0

2 months ago

Features

  • Add a variation on the .swiftMessage() modifier that takes a view builder instead of requiring that the bound value conform to MessageViewConvertible. This syntax is more similar to the familiar sheet() modifier syntax and provides more flexibility for constructing message views.
  • #207 Add optional haptic feedback

Changes

  • Use @MainActor to ensure that SwiftMessages is not called from a background queue.
  • Bump minimum deployment target to iOS 13.

Fixes

  • #535 window being accessed from background thread when dequeueNext is called
  • #534 Xcode warnings in two swift files
  • #533 How do I show a message that appears above the keyboard, when the keyboard is already visible?

10.0.0-beta

3 months ago

Features

  • Add a variation on the .swiftMessage() modifier that takes a view builder instead of requiring that the bound value conform to MessageViewConvertible. This syntax is more similar to the familiar sheet() modifier syntax and provides more flexibility for constructing message views.

Changes

  • Use @MainActor to ensure that SwiftMessages is not called from a background queue.
  • Bump minimum deployment target to iOS 13.

Fixes

  • #535 window being accessed from background thread when dequeueNext is called
  • #534 Xcode warnings in two swift files
  • #533 How do I show a message that appears above the keyboard, when the keyboard is already visible?

9.0.10

3 months ago

9.0.10

Features

  • Add a .sheet() like variation to the .swiftMessage() modifier that takes a view builder. This provides more flexibility for constructing message views.

Fixes

  • #535 window being accessed from background thread when dequeueNext is called
  • #534 Xcode warnings in two swift files
  • #533 How do I show a message that appears above the keyboard, when the keyboard is already visible?

9.0.9

6 months ago

Fixes

  • Fix hit testing on SwiftUI views to allow touches around the view's margins to pass through to the underlying view.
  • Update KeyboardTrackingView to continue tracking the keyboard even when not installed in the view hierarchy.

9.0.8

6 months ago

Changes

  • #529 Update readme and SwiftUI demo to demostrate how to mask edges.

9.0.7

6 months ago

Features

  • Added support for SwiftUI

Fixes

  • #527 Crash while clicking two times to hide the presenting controller
  • #517 Prevent orphaned views from blocking the queue
  • Prevent orphaned SwiftMessagesSeques from retaining the presenting view controller

9.0.6

2 years ago
  • Add UIView associated type to Event, e.g. willShow(UIView) so that event listeners can inspect the view.
  • Add Event.id: String? property so that event listeners can reason about the view's ID.

9.0.5

2 years ago

Fixes

  • #482 Fix timing of KeyboardTrackingView callbacks.
  • #483 KeyboardTrackingView causes a small space under bottom-style view

9.0.4

2 years ago
  • #471 Xcode 13 issue - Enum cases with associated values cannot be marked potentially unavailable with '@available'
  • Improve colors for dark mode.

9.0.3

2 years ago

Fixes

  • #467 Lower or equal level window's views disappear upon hide
  • #466 Alert not shown after Biometry check
  • #465 Fix broken Carthage build. The Carthage build was broken due to the iMessageDemo project's use of CocoaPods and the automatically generated SwiftMessages framework scheme created by CocoaPods. The podfile was modified to delete this scheme, but Carthage users may need to run pod install on the iMessagesDemo project, if they have CocoaPods installed, or manually delete the iMessageDemo/Pods/Pods.xcodeproj/xcuserdata folder.