Releases: orchetect/swift-osc
Releases · orchetect/swift-osc
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
OSCClientandOSCServerclasses using CocoaAsyncSocket under the hood. (See OSCKitExample project for a demonstration.) - Or use
import OSCKitCoreif you plan on implementing your own UDP sockets.
OSC Address
- New
OSCAddressstruct: adds useful methods partaining to an OSC address. - Added full OSC address pattern matching support.
- New
OSCDispatcherclass: 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
Codableconformance toOSCBundle,OSCMessageandOSCAddress. - 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:
OSCMessageandOSCBundleare now immutable value typesOSCMessageandOSCBundle-rawBytesinits 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 appearsToBeOSCmethod now returns a strongly typedOSCObjectTypeenum with.bundleand.messagecasesOSCMessageandOSCBundlenow conform toEquatableandHashable- Performance improvements
- Removed all internal console log messages
- README updated with Getting Started section with sample code