Re: 32 -> 64 bit serializations, NSNumber, int, NSInteger

2011-07-19 Thread Philip Dow
Thanks for the tips Quincey and Nick. I'll keep an eye out for the use of NSNotFound. ~Phil On Jul 19, 2011, at 2:46 PM, Quincey Morris wrote: > On Jul 19, 2011, at 12:32, Nick Zitzmann wrote: > >> The only problem I ever had with unarchiving 32-bit app archives in a 64-bit >> app was with lo

Re: 32 -> 64 bit serializations, NSNumber, int, NSInteger

2011-07-19 Thread Quincey Morris
On Jul 19, 2011, at 12:32, Nick Zitzmann wrote: > The only problem I ever had with unarchiving 32-bit app archives in a 64-bit > app was with longs in non-keyed archives that were encoded using > @encode(long)*, and that doesn't apply to your scenario. The other issue that might rear its head i

Re: 32 -> 64 bit serializations, NSNumber, int, NSInteger

2011-07-19 Thread Nick Zitzmann
On Jul 19, 2011, at 12:24 PM, Philip Dow wrote: > Related to a previous posting of mine regarding floats and CGFloats when > decoding older 32 bit serializations in a 64 bit runtime, I am now also in > the process of modernizing some old code that used int values encapsulated by > NSNumber in

32 -> 64 bit serializations, NSNumber, int, NSInteger

2011-07-19 Thread Philip Dow
Related to a previous posting of mine regarding floats and CGFloats when decoding older 32 bit serializations in a 64 bit runtime, I am now also in the process of modernizing some old code that used int values encapsulated by NSNumber in keyed archives. The current serializations were performed