orchetect/swift-osc-core
Cross-platform Open Sound Control (OSC) encoding, decoding, and dispatch library written in Swift.
Compatibility
| macOS | iOS | tvOS | visionOS | watchOS | Linux | Android | WASM | Windows | | :---: | :--: | :--: | :------: | :-----: | :---: | :-----: | :---: | :------: | | π’ | π’ | π’ | π’ | π’ | π’ | π’ | π§[^1] | Untested |
[^1]: Support for indicated platforms is either planned or WIP.
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-osc umbrella repository):
- Add the swift-osc-core repo as a dependency.
``swift .package(url: "https://github.com/orchetect/swift-osc-core", from: "1.4.0") ``
- Add SwiftOSCCore to your target.
``swift .product(name: "SwiftOSCCore", package: "swift-osc-core") ``
- Import SwiftOSCCore to use it.
``swift import SwiftOSCCore ``
Documentation
See the online documentation for this repository. See one of the I/O extension repositories for example code.
For support, feature requests, and bug reports see the main SwiftOSC repository.
Dependencies
- SwiftASCII is used for ASCII string and character formatting and validation.
- SwiftDataParsing is used for message decoding.
License
Licensed under the MIT license. See LICENSE for details.
Package Metadata
Repository: orchetect/swift-osc-core
Default branch: main
README: README.md