Implement Equatable to OSC types
segabor opened this issue · 1 comments
segabor commented
Support message equality check on both OSCMessage
and OSCBundle
types. There is also minor caveat. Int
types are automatically converted to Int32
during serialization.
Based on this, the two following message won't be equal (but they should)
let msg1 = OSCMessage(address: "/s_new", args: "sine", 100, 1, 1 )
let msg2 = OSCMessage(address: "/s_new", args: "sine", Int32(100), Int32(1), Int32(1) )
So I think this issue should be addressed before implementing Equatable
protocol.
segabor commented
Currently a non-issue, will be reopened once gains any attention.