A µFramework for showing iOS 13 like alerts
- Light/dark mode
- Show with custom duration
- Interactive dismissal
- Add accessibility
- Queue multiple drops
- Add tests
- Create a drop:
let drop = Drop(title: "Title", subtitle: "Subtitle")
- Present it from a view controller:
present(drop: drop)
The Swift Package Manager is a tool for managing the distribution of Swift code.
- Add the following to your
Package.swift
file:
dependencies: [
.package(url: "https://github.com/omaralbeik/drops.git", from: "0.1.0")
]
- Build your project:
$ swift build
Drops is released under the MIT license. See LICENSE for more information.