• 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: Preserving knowledge of renamed/moved directory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preserving knowledge of renamed/moved directory?


  • Subject: Re: Preserving knowledge of renamed/moved directory?
  • From: Charles Srstka <email@hidden>
  • Date: Mon, 28 Nov 2016 20:07:28 -0600

> On Nov 28, 2016, at 7:42 PM, Quincey Morris <email@hidden> wrote:
>
> On Nov 28, 2016, at 17:30 , Charles Srstka <email@hidden <mailto:email@hidden>> wrote:
>>
>> This is currently broken in Swift, as of Swift 3, where all file reference URLs will get silently and unceremoniously converted back to path-based ones at the bridge.
>
> NSURL or URL or both?

.fileReferenceURL doesn’t exist on URL. It does exist on NSURL, but thanks to the bridging magic it returns a URL, which the ObjC-Swift bridge turns into a normal file path URL.

Unfortunately, the second comment on this thread: https://bugs.swift.org/browse/SR-2728 <https://bugs.swift.org/browse/SR-2728> indicates that this might have been intentional behavior. :-/

Charles

_______________________________________________

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: 
 >Preserving knowledge of renamed/moved directory? (From: Rick Mann <email@hidden>)
 >Re: Preserving knowledge of renamed/moved directory? (From: Charles Srstka <email@hidden>)
 >Re: Preserving knowledge of renamed/moved directory? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Preserving knowledge of renamed/moved directory?
  • Next by Date: Re: Preserving knowledge of renamed/moved directory?
  • Previous by thread: Re: Preserving knowledge of renamed/moved directory?
  • Next by thread: Re: Preserving knowledge of renamed/moved directory?
  • Index(es):
    • Date
    • Thread