Re: Preserving knowledge of renamed/moved directory?
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