2.0.0
Note
This release contains various minor API changes, as well as bug fixes and other refinements. As such, it has gained a major version number bump to version 2.
A summary of the main changes can be found below.
- OSCKitCore
OSCObjectprotocol has been removed since the only two concrete types that can possibly conform areOSCBundleorOSCMessage.- The protocol has been replaced a new
OSCPacketenum that contains two strongly-typed cases containing either anOSCBundleorOSCMessage.
- The protocol has been replaced a new
OSCPacketandOSCBundle: Both have a newmessagesproperty that returns an array ofOSCMessages contained within the packet or bundle.OSCAddressSpace: Converted class into an actorOSCAddressSpace: Added newunregister(methodID:)methodOSCEncodeErrorandOSCDecodeError: Now have more idiomatic error cases- Throwing methods that throw a strongly-typed error are now marked as such in the method signature
- OSCKit
OSCUDPServer:init: Passingnilor0forportparameter will now cause a random available port number to be used- This also fixes a bug where the
localPortproperty was not updated if a random port was assigned
- This also fixes a bug where the
OSCUDPClient:init: Passingnilor0forlocalPortparameter will now cause a random available port number to be usedOSCTCPServer:init: Passingnilor0forportparameter will now cause a random available port number to be used