orchetect/swift-midi-ui
Extension for SwiftMIDI adding reusable user interface controls for SwiftUI.
Compatibility
| macOS | iOS | visionOS | tvOS | watchOS | Linux | Android | WASM | Windows | | :---: | :--: | :------: | :---: | :-----: | :---: | :-----: | :--: | :-----: | | 🟢 | 🟢 | 🟢 | ❌[^1] | ❌[^1] | - | - | - | - |
[^1]: tvOS and watchOS do not have Core MIDI I/O support.
Getting Started
This extension is available as a Swift Package Manager (SPM) package.
To use this extension as standalone dependency (instead of importing the swift-midi umbrella repository):
- Add the swift-midi-ui repo as a dependency.
``swift .package(url: "https://github.com/orchetect/swift-midi-ui", from: "1.0.0") ``
- Add SwiftMIDIUI to your target.
``swift .product(name: "SwiftMIDIUI", package: "swift-midi-ui") ``
- Import SwiftMIDIUI to use it.
``swift import SwiftMIDIUI ``
Documentation & Support
See the online documentation for this repository and its Examples folder.
For support, feature requests, and bug reports see the main SwiftMIDI repository.
License
Licensed under the MIT license. See LICENSE for details.
Package Metadata
Repository: orchetect/swift-midi-ui
Default branch: main
README: README.md