This package provides a variety of SwiftUI alerts that integrate perfectly with iPhone’s Dynamic Island and Notch!
🕓 1 week ago
.package(url: "https://github.com/alessiorubicini/IslandAlertsForSwiftUI.git", from: "1.0.0-beta3")
IslandAlertsForSwiftUI provides a variety of SwiftUI alerts that integrate perfectly with iPhone’s Dynamic Island and Notch!
Types of alert
- IslandLargeAlert: a large-size alert expanding from Dynamic Island with cancel and confirmation buttons
- IslandMediumAlert: a medium-size alert expanding into a top rectangle from the Dynamic Island, useful for small updates
- IslandSquareAlert: a small-size alert expanding into a square from the Dynamic Island, useful for quick animations
Let's not leave our dear old Notch behind!
The package includes the same animations also for the Notch. They may not be as beautiful, but they are useful!
- iOS 15.0 or above
- Xcode 13.0 or above
In Xcode go to
File -> Add Packages... and paste in the repo's url:
Copyright 2022 (©) Alessio Rubicini.
The license for this repository is MIT License.
Please see the LICENSE file for full reference.