Re: RTFDFromRange returns different data
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