Releases: orchetect/OSCKit
Releases · orchetect/OSCKit
0.3.0
New Release: OSCKit 0.3.0
Note: This release has numerous API changes.
Networking Now Included
OSCKit by default now contains a built-in networking layer.
- New
OSCClient
andOSCServer
classes using CocoaAsyncSocket under the hood. (See OSCKitExample project for a demonstration.) - Or use
import OSCKitCore
if you plan on implementing your own UDP sockets.
OSC Address
- New
OSCAddress
struct: adds useful methods partaining to an OSC address. - Added full OSC address pattern matching support.
- New
OSCDispatcher
class: automates address pattern matching and dispatches received OSC messages. [OSCMessage.Value]
now has amasked()
category method to mask an array of OSC values and cast to concrete types.
Misc
- Added
Codable
conformance toOSCBundle
,OSCMessage
andOSCAddress
. - Refreshed example projects.
- Various improvements and fixes.
- Improved inline docs and formatting.
0.2.2
0.2.1
0.2.0
Major code overhaul and modernization:
OSCMessage
andOSCBundle
are now immutable value typesOSCMessage
andOSCBundle
-rawBytes
init
s nowthrow
, and produce strongly typed and detailed error messages- OSC value types of
.string(String)
and.stringAlt(String)
have been replaced with.string(ASCIIString)
and.stringAlt(ASCIIString)
- OSC value type
.character(Character)
has been replaced with.character(ASCIICharacter)
- New
Data.parseOSC()
method returnsOptional(OSCBundlePayload)
and throws on parse errors appearsToBeOSC
method now returns a strongly typedOSCObjectType
enum with.bundle
and.message
casesOSCMessage
andOSCBundle
now conform toEquatable
andHashable
- Performance improvements
- Removed all internal console log messages
- README updated with Getting Started section with sample code