FROM : Adam R. Maxwell
DATE : Wed Jan 16 18:24:43 2008
On Wednesday, January 16, 2008, at 08:20AM, "David Spooner" <<email_removed>> wrote:
>I've had a similar experience and ended up implementing -
>replacementObjectForPortCoder: for the classes which I wanted to send
>bycopy.
The OP mentioned NSDictionary, so be careful if you add that as a category on Apple's classes! It's also important to note that NSPortCoder doesn't support keyed archiving, so your encodeWithCoder: and initWithCoder: methods have to test for allowsKeyedCoding.
--
adam
DATE : Wed Jan 16 18:24:43 2008
On Wednesday, January 16, 2008, at 08:20AM, "David Spooner" <<email_removed>> wrote:
>I've had a similar experience and ended up implementing -
>replacementObjectForPortCoder: for the classes which I wanted to send
>bycopy.
The OP mentioned NSDictionary, so be careful if you add that as a category on Apple's classes! It's also important to note that NSPortCoder doesn't support keyed archiving, so your encodeWithCoder: and initWithCoder: methods have to test for allowsKeyedCoding.
--
adam
| Related mails | Author | Date |
|---|---|---|
| Half Activist | Jan 16, 15:12 | |
| David Spooner | Jan 16, 17:19 | |
| Adam R. Maxwell | Jan 16, 18:24 |






Cocoa mail archive

