Encoding Cocoa objects and checking for equality
Encoding Cocoa objects and checking for equality
- Subject: Encoding Cocoa objects and checking for equality
- From: Kaspar Fischer <email@hidden>
- Date: Fri, 20 Jan 2006 01:55:22 +0100
I need to send some Cocoa objects (like NSString's, NSDictionary's,
NSArray's, etc.) over a (GNU TLS encrypted) connection to some
Linux/UNIX machine. I intend to use NSCoder to encode the objects
and then send them over the wire. On the other end of the wire, I
need to be able to recognize whether the original objects were
identical or not.
Therefore my question: Will Cocoa's NSCoder always encode two objects
t1,t2 of the same type and same value to the identical encoding?
Or does this depend on the OS version (or on something else)?
(I do not need to decode the objects on the Linux/UNIX box; only
the "equality check" is needed.)
Thanks,
Kaspar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden