• 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 08:50:49 -0800

On Sat, Nov 13, 2010 at 8:46 AM, gMail.com <email@hidden> wrote:
> Martin,
> are you saying that "is not sure that if I do not change mTextMutableString,
> and I call archivedDataWithRootObject several times, e.g. with one second
> interval, the stringData could be different? I hope no.

This is exactly what he is saying.

>
> I need to compare the data saved on the disk with the current
> mTextMutableString. Do you know any better way?

Either don't use archiving or compare the *unarchived* strings.

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?

--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

  • Follow-Ups:
    • Re: RTFDFromRange returns different data
      • From: Keary Suska <email@hidden>
References: 
 >Re: RTFDFromRange returns different data (From: Martin Wierschin <email@hidden>)
 >Re: RTFDFromRange returns different data (From: "gMail.com" <email@hidden>)

  • Prev by Date: Re: RTFDFromRange returns different data
  • Next by Date: Ghost outlet
  • Previous by thread: Re: RTFDFromRange returns different data
  • Next by thread: Re: RTFDFromRange returns different data
  • Index(es):
    • Date
    • Thread