Re: NSCoding between iOS and Mac OS X

2010-08-28 Thread Ken Ferry
On Thu, Aug 26, 2010 at 6:05 AM, Nathan Day wrote: > What about binary property lists, they should be interchangeable between > iOS and Mac OS X? > Yes, a property list, binary or not, is definitely interchangeable. The keyed archive container format is interchangeable, however whether a partic

Re: NSCoding between iOS and Mac OS X

2010-08-26 Thread Nathan Day
What about binary property lists, they should be interchangeable between iOS and Mac OS X? On 26/08/2010, at 1:29 AM, Ricky Sharp wrote: > A similar question came up recently. > > While some objects (e.g. NSNumber) things should be binary compatible. But > you may run into issues. > > Also d

Re: NSCoding between iOS and Mac OS X

2010-08-25 Thread Ricky Sharp
A similar question came up recently. While some objects (e.g. NSNumber) things should be binary compatible. But you may run into issues. Also depends upon what objects you are coding. Mac OS X uses NSColor whereas iOS uses UIColor. I would recommend using an intermediate normalized format in

NSCoding between iOS and Mac OS X

2010-08-25 Thread Nathan Day
Does anybody know whether NSCoding can be used to transfer data between iOS and Mac OS X. Is this documented as guaranteed to work. I have tried to do a google search but I got nothing, probably searching for the wrong thing. Nathan Day http://homepage.mac.com/nathan_day/ __