Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conform to Codables #16

Open
segabor opened this issue Sep 16, 2018 · 1 comment
Open

Conform to Codables #16

segabor opened this issue Sep 16, 2018 · 1 comment
Labels
story Group of tasks

Comments

@segabor
Copy link
Owner

segabor commented Sep 16, 2018

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 segabor added the story Group of tasks label Sep 16, 2018
@segabor
Copy link
Owner Author

segabor commented Oct 21, 2018

Now I see this will be a long story. Here's a great motivational slide https://kaitlinmahar.com/files/encoder_decoder_slides.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story Group of tasks
Projects
None yet
Development

No branches or pull requests

1 participant