Bot releases are visible (Hide)
@_implementationOnly
compiler warningsPublished by orchetect over 1 year ago
OSCSocket
class that combines server and client using a single local UDP portOSCKitSocketExample
project to demonstrate OSCSocket
OSCClient
init(localPort:)
isPortReuseEnabled
propertyisIPv4BroadcastEnabled
propertyOSCServer
isPortReuseEnabled
propertyisIPv4BroadcastEnabled
propertyCGFloat
as an OSC message value typePublished by orchetect about 2 years ago
OSCAddressSpace
: Refactored address registration and matching logicOSCAddressSpace
: methods(matching:)
now returns only method IDs and not container IDsPublished by orchetect about 2 years ago
OSCAddressSpace
.dispatch(_: OSCMessage)
will execute the closure (on current queue or on a specified queue) for each method that matches the OSC message address pattern.Published by orchetect about 2 years ago
0.4.0 is a complete refactor and overhaul from the ground up.
Check out the example projects to see it in action, and browse the README for an overview of functionality.
Note: Swift 5.7+ and Xcode 14+ are minimum requirements. OSCKit 0.3.1 can be used with Xcode 13.
Published by orchetect about 2 years ago
OSCServer
now has timeTagMode
parameter to set scheduling behaviorOSCServer
receive handler
closure now forwards time tag informationNote: This will be the last release before a major refactor in release 0.4.0 to improve how OSC values are handled.
Note: 0.4.0 will require Xcode 14+ and Swift 5.7+
Published by orchetect about 2 years ago
Note: This release has numerous API changes.
OSCKit by default now contains a built-in networking layer.
OSCClient
and OSCServer
classes using CocoaAsyncSocket under the hood. (See OSCKitExample project for a demonstration.)import OSCKitCore
if you plan on implementing your own UDP sockets.OSCAddress
struct: adds useful methods partaining to an OSC address.OSCDispatcher
class: automates address pattern matching and dispatches received OSC messages.[OSCMessage.Value]
now has a masked()
category method to mask an array of OSC values and cast to concrete types.Codable
conformance to OSCBundle
, OSCMessage
and OSCAddress
.Published by orchetect about 3 years ago
Published by orchetect about 3 years ago
Published by orchetect over 3 years ago
Major code overhaul and modernization:
OSCMessage
and OSCBundle
are now immutable value typesOSCMessage
and OSCBundle
- rawBytes
init
s now throw
, and produce strongly typed and detailed error messages.string(String)
and .stringAlt(String)
have been replaced with .string(ASCIIString)
and .stringAlt(ASCIIString)
.character(Character)
has been replaced with .character(ASCIICharacter)
Data.parseOSC()
method returns Optional(OSCBundlePayload)
and throws on parse errorsappearsToBeOSC
method now returns a strongly typed OSCObjectType
enum with .bundle
and .message
casesOSCMessage
and OSCBundle
now conform to Equatable
and Hashable
Published by orchetect almost 4 years ago
Published by orchetect almost 4 years ago
Internalized dependency namespace
Published by orchetect about 4 years ago
Initial Release