• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Encoding Cocoa objects and checking for equality
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: reset textcontainer size?
  • Next by Date: A caution for those moving to gcc 4.0.1
  • Previous by thread: Re: reset textcontainer size?
  • Next by thread: A caution for those moving to gcc 4.0.1
  • Index(es):
    • Date
    • Thread