FROM : Joakim Danielson
DATE : Sun Nov 21 20:15:52 2004
>>
>
> Well, it is true that if a KEY starts with '$', NSKeyedArchiver puts
> another '$' in front. Which means: all keys are possible, but keys
> starting with '$' take a bit more time.
>
> But my problem is with VALUEs - nothing in the documentation prohibits
> using certain string values.
> I still beleive that it is my unalienable right to archive and
> unarchive the string "$null".
>
> Kind regards
>
> Gerriet.
>
>
>
You're right, it says keys not values. Sorry, I missed that when I read
it.
Anyway, I changed my program so that I used the accessor methods in my
initWithCoder:/encodeWithCoder: methods instead of accessing the ivar
directly but the result was the same, "$null" is not stored. I assume
this is a bug and that you should report it.
Joakim
DATE : Sun Nov 21 20:15:52 2004
>>
>
> Well, it is true that if a KEY starts with '$', NSKeyedArchiver puts
> another '$' in front. Which means: all keys are possible, but keys
> starting with '$' take a bit more time.
>
> But my problem is with VALUEs - nothing in the documentation prohibits
> using certain string values.
> I still beleive that it is my unalienable right to archive and
> unarchive the string "$null".
>
> Kind regards
>
> Gerriet.
>
>
>
You're right, it says keys not values. Sorry, I missed that when I read
it.
Anyway, I changed my program so that I used the accessor methods in my
initWithCoder:/encodeWithCoder: methods instead of accessing the ivar
directly but the result was the same, "$null" is not stored. I assume
this is a bug and that you should report it.
Joakim
| Related mails | Author | Date |
|---|---|---|
| Gerriet M. Denkman… | Nov 21, 10:47 | |
| Jonathan Jackel | Nov 21, 13:00 | |
| Gerriet M. Denkman… | Nov 21, 13:53 | |
| Joakim Danielson | Nov 21, 15:09 | |
| Gerriet M. Denkman… | Nov 21, 19:31 | |
| Joakim Danielson | Nov 21, 20:15 |






Cocoa mail archive

