Skip to content

orchetect/swift-osc-core

Repository files navigation

SwiftOSC Core

SwiftOSC Core

License: MIT

Cross-platform Open Sound Control (OSC) encoding, decoding, and dispatch library written in Swift.

Provides core functionality for SwiftOSC.

  • OSC address pattern matching and dispatch
  • Convenient OSC message value type masking, validation and strong-typing
  • Support for custom OSC types
  • Supports Swift 6 strict concurrency
  • Fully unit tested
  • Full DocC documentation

Compatibility

macOS iOS tvOS visionOS watchOS Linux Android Windows
🟢 🟢 🟢 🟢 🟢 🟢 🟢 Untested

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):

  1. Add the swift-osc-core repo as a dependency.

    .package(url: "https://github.com/orchetect/swift-osc-core", from: "1.0.0")
  2. Add SwiftOSCCore to your target.

    .product(name: "SwiftOSCCore", package: "swift-osc-core")
  3. Import SwiftOSCCore to use it.

    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

Author

Coded by a bunch of 🐹 hamsters in a trenchcoat that calls itself @orchetect.

License

Licensed under the MIT license. See LICENSE for details.

About

Cross-platform OSC encoding, decoding, and dispatch library written in Swift.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors

Languages