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

Re: APFS


  • Subject: Re: APFS
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 17 Jun 2017 03:28:27 -0500

On Jun 16, 2017, at 1:57 AM, Quincey Morris
<email@hidden> wrote:
>
> FWIW, the WWDC session on APFS is worth watching:
>
>       https://developer.apple.com/videos/play/wwdc2017/715/
> <https://developer.apple.com/videos/play/wwdc2017/715/>
>
> because it relates to an inconclusive discussion we had recently about iOS
> file names with normalization issues “breaking” existing apps.
>
> If I understand it correctly, Apple has abandoned the ridiculous idea of
> making iOS APFS normalization-sensitive (that is, of treating strings
> differing only in normalization as different file names).

True, but it should be noted (as they point out in the session presentation)
that normalization-insensitive is different than normalizing.  So, if you
enumerate a directory's contents, the strings you get back for file names will
be exactly as they were originally passed in to the APIs and not necessarily
normalized.  That means, if you compare against some other string, you will
have to do a normalization-insensitive compare to get the same "equality" test
that the file system uses.  Mind you, you should basically never do that sort
of comparison.  Always use the appropriate APIs to look up or compare file
system entries.

Regards,
Ken

_______________________________________________

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: 
 >APFS (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Release mode bindings crash and release pools
  • Next by Date: Re: Deep linking from 1 tvOS app to another
  • Previous by thread: APFS
  • Next by thread: Unable to extract JPEG from PHAsset
  • Index(es):
    • Date
    • Thread