<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <span><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><span>Hi,<br><br>I'm working on implementation of unimplemented properties in NSURL.swift.<br><br><i>public var filePathURL: NSURL?</i><br><br>As per specification[1] which says "</span><span>If the receiver is a file reference URL, this property contains a copy
of the URL converted to a file path URL. If the receiver’s URL is a file
path URL, this property contains the original URL. If the original URL
is not a file URL, or if the resource is not reachable or no longer
exists, this property contains <code class="code-voice">nil</code>.
"<br><br>'filePathURL' property is to hold copy of file reference URL converted to file path URL.<br><br><br>for example, <br><br>file reference URL - <b>file:///.file/id=6571367.3617528/</b><br>file path URL - <b>file:///Users/mbvreddy/workarea/swift/MyTest/MyTest.xcodeproj/</b><br><br>File reference URL is a special URL on OS X which is of type </span><span><span>file:///.file/id=<volume_id>.<file_id>/</span>.
And it is not available on Linux. APIs that return file reference URLs
[2] on OS X foundation NSURL.fileReferenceURL() is removed from Linux
Foundation.<br><br>So, I think NSURL.filePathURL also should be removed
as it serves no purpose without file reference URL. Any comments are
appreciated.<br><br>[1] <a target="_blank" href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/#//apple_ref/occ/instp/NSURL/filePathURL">https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/#//apple_ref/occ/instp/NSURL/filePathURL</a><br>[2] <a target="_blank" href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/#//apple_ref/occ/instm/NSURL/fileReferenceURL">https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/#//apple_ref/occ/instm/NSURL/fileReferenceURL</a><br><br><br>- mbvreddy</span></font></span></font><BR>