OSCCore icon indicating copy to clipboard operation
OSCCore copied to clipboard

Conform to Codables

Open segabor opened this issue 5 years ago • 1 comments

Scope

So far OSCCore uses its own serialization technique. Swift 4 brings in Codables providing a standard way of doing it.

Transforming current implementation covers the following tasks.

  • High level transformation: make compound types conform to Codable. Affected types are OSCMessage, OSCMessageArgument and OSCBundle.
  • Low level transformation: provide own Encoder and Decoder - will be a quite hard task.
  • Revisit tests: testing type to binary stream serialization and serialization details should be broken down to two parts (now details are verified in the same test pass).

segabor avatar Sep 16 '18 04:09 segabor