Created
November 2, 2017 09:54
-
-
Save rosstulloch/2b0789eab7141430b3b9029595a82889 to your computer and use it in GitHub Desktop.
File Reference URL in Swift.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if let refURL = (a as NSURL).perform(#selector(NSURL.fileReferenceURL))?.takeUnretainedValue() as? NSURL { | |
print(refURL) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment