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 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 is that the meaning of NSNotFound > changes between 32- and 64-bit runtimes**, which makes a mess of archives > that use it. The answer, of course, is to keep NSNotFound out of archives, > but (as I found to my own cost) if existing code archives NSNotFound, it's > really, really hard to clean the mess up. > > > > ** I mean: if you archive NSNotFound in a 32-bit application, it's no longer > NSNotFound when you unarchive it in a 64-bit application. And vice versa, > probably. > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com