I am trying to pass a model object to a local server that i created. The model object is a cpp class. I need to convert it into data so that i could write it over the stream. When i tried to archive the class using Coder methods, gave me an error.
Is there any better ways to do this? Any help or insight on this, is appreciated.
Thank you...
Did you try
+dataWithBytes:length:
?