• 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: archiving report
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: archiving report


  • Subject: Re: archiving report
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 27 Feb 2013 12:30:24 +0700

On 27 Feb 2013, at 02:17, Kyle Sluder <email@hidden> wrote:

> On Tue, Feb 26, 2013, at 11:06 AM, Gerriet M. Denkmann wrote:
>> You can create and archive (with NSKeyedArchiver) illegal strings.
>> unichar u = kUCHighSurrogateRangeStart;
>> NSString *s = [ NSString stringWithCharacters: &u length: 1];
>
> You might be able to do it now, but you certainly can't rely on it in
> the future.

I am not advocating using illegal strings. For one: there is no way of knowing which string operations might work or not.
The point is: if NSString can create something, it should be archivable.

But I admit that this is a very minor and unimportant bug.
The best fix by far would be if NSString does not allow to create nonsense strings at all.

Kind regards,

Gerriet.


_______________________________________________

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: 
 >archiving report (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: archiving report (From: Kyle Sluder <email@hidden>)
 >Re: archiving report (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: archiving report (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: archiving report
  • Next by Date: Re: Issue of NSStatusBar
  • Previous by thread: Re: archiving report
  • Next by thread: Re: archiving report
  • Index(es):
    • Date
    • Thread