OSCKit

0.5.0

Open Sound Control (OSC) library written in Swift.
orchetect/OSCKit

What's New

0.5.0

2023-04-10T07:03:46Z

New

  • Added new OSCSocket class that combines server and client using a single local UDP port
  • Added OSCKitSocketExample project to demonstrate OSCSocket
  • OSCClient
    • Added ability to specify local port with init(localPort:)
    • Added isPortReuseEnabled property
    • Added isIPv4BroadcastEnabled property
  • OSCServer
    • Added isPortReuseEnabled property
    • Added isIPv4BroadcastEnabled property
    • Now defaults to main queue using default QoS if not specified
  • Added native support for CGFloat as an OSC message value type

Improvements

  • Full DocC documentation available online, and buildable within Xcode
  • Thinned external dependencies from 4 to 2
  • Minor cleanup, unit test updates, and API clarification

OSCKit

OSCKit

CI Build Status Platforms - macOS 10.13+ | iOS 11+ | tvOS 11+ Swift 5.7 Xcode 14 License: MIT

Open Sound Control (OSC) library for macOS, iOS and tvOS written in Swift.

  • OSC address pattern matching and dispatch
  • Convenient OSC message value type masking, validation and strong-typing
  • Modular: use the provided UDP network layer by default, or use your own
  • Support for custom OSC types
  • Thread-safe
  • Fully unit tested
  • Full DocC documentation

Getting Started

The library is available as a Swift Package Manager (SPM) package.

Use the URL https://github.com/orchetect/OSCKit when adding the library to a project or Swift package.

See the getting started guide for a detailed walkthrough of how to get the most out of OSCKit.

The Examples folder also contains projects to quickly get started.

Documentation

See the online documentation or view it in Xcode's documentation browser by selecting the Product → Build Documentation menu.

This includes a getting started guide, links to examples, and troubleshooting tips.

Dependencies

  • CocoaAsyncSocket is used by the OSCKit target for network sockets.
  • SwiftASCII is used for ASCII string and character formatting and validation.

Documentation

Refer to this README for an overview of library features and syntax, and check out the example projects.

Author

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

License

Licensed under the MIT license. See LICENSE for details.

Sponsoring

If you enjoy using OSCKit and want to contribute to open-source financially, GitHub sponsorship is much appreciated. Feedback and code contributions are also welcome.

Contributions

Contributions are welcome. Posting in Discussions first prior to new submitting PRs for features or modifications is encouraged.

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Fri Apr 19 2024 13:28:25 GMT-0900 (Hawaii-Aleutian Daylight Time)