Import the SwiftMIDI library
mainTo use the full suite of SwiftMIDI features, add the SwiftMIDI package product to your project and import it in your Swift files. Importing SwiftMIDI acts as an umbrella, making all sub-extensions available automatically:
swift-midi-controlsurfacesswift-midi-coreswift-midi-fileswift-midi-ioswift-midi-syncswift-midi-ui
Tip: If you only need a subset of features, you can improve build times and dependency management by importing only the specific sub-packages (e.g., SwiftMIDICore or SwiftMIDIIO) instead of the entire umbrella package.
import SwiftMIDI