• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RTFDFromRange returns different data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTFDFromRange returns different data


  • Subject: Re: RTFDFromRange returns different data
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 13 Nov 2010 11:36:05 -0800

On Sat, Nov 13, 2010 at 11:02 AM, Keary Suska <email@hidden> wrote:
> On Nov 13, 2010, at 9:50 AM, Kyle Sluder wrote:
>
>> You really shouldn't be using NSKeyedArchiver for persisting data out
>> to disk, anyway. What happens if you try to load the data on an older
>> version of the OS?
>
> This statement as I understand it is contrary to the documentation, as well as some implied API contracts with regards to data serialization, to whit: file:///Developer/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset/Contents/Resources/Documents/index.html#documentation/Cocoa/Conceptual/Archiving/Articles/compatibility.html#//apple_ref/doc/uid/20001055-BCICFFGE
>
> Unless there is something else you are referring to...

It's really just annoying. Implementing keyed archiving in a way that
generates on-disk files that are backward-compatible is just as much
work as defining a neutral representation format and using that.

Using an actual, versioned file format is preferable for those times
when you really do need to break backward compatibility.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: RTFDFromRange returns different data (From: Martin Wierschin <email@hidden>)
 >Re: RTFDFromRange returns different data (From: "gMail.com" <email@hidden>)
 >Re: RTFDFromRange returns different data (From: Kyle Sluder <email@hidden>)
 >Re: RTFDFromRange returns different data (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Problem saving in a Core Data application
  • Next by Date: Re: Problem saving in a Core Data application
  • Previous by thread: Re: RTFDFromRange returns different data
  • Next by thread: Invitation to connect on LinkedIn
  • Index(es):
    • Date
    • Thread