He there, I'm trying to open (Launch) a Finder in Mac Catalyst 13.0+. and the 'NSWorkspace' is unavailable in Mac Catalyst
My code:
func openFinder(url: URL?){
guard let url = url else { return }
NSWorkspace.shared.activateFileViewerSelecting([url])
}
Error:
'NSWorkspace' is unavailable in Mac Catalyst
Do you have any idea how I can do it in Mac Catalyst?