Panel is a SwiftUI implementation of the known Maps Panel on iOS.
First define a state property for the panel anchor.
@State private var panelAnchor = PanelAnchor.medium
Panel is distributed using the Swift Package Manager. To install it into a project, add it as a dependency within your Package.swift
manifest:
let package = Package(
...
dependencies: [
.package(url: "https://github.com/florianmielke/panel.git", from: "0.0.2")
],
...
)
Then import Panel wherever you’d like to use it:
import Panel
For more information on how to use the Swift Package Manager, check out its official documentation.
This library is inspired by the awesome work of.
This project does not come with GitHub Issues-based support, and users are instead encouraged to become active participants in its continued development — by fixing any bugs that they encounter, or by improving the documentation wherever it’s found to be lacking.
If you wish to make a change, open a Pull Request — even if it just contains a draft of the changes you’re planning, or a test that reproduces an issue — and we can discuss it further from there.
—Florian