On Sat, Nov 13, 2010 at 8:46 AM, gMail.com <mac.iphone....@gmail.com> 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 (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

Reply via email to