I want to add "Show in Finder" in my app that is similar to the one in Xcode. How do I do this using objc?
The best way to do this is with activateFileViewerSelecting(_:)
method on NSWorkspace
. Not only is this very easy to call, it also works if your app is sandboxed.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"