Post

Replies

Boosts

Views

Created

Replacements for NSOpenPanel & NSSavePanel
With NSOpenPanel and NSSavePanel gone what is equivalent functionality? I've found this snippet of code which seems similar to NSOpenPanel: let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypeFolder as String], in: .open) (I don't know how to get to the kUTTypeFolder constant, I only found it defined in a .h file, so this generates an error - I haven't actually executed this snippet yet) I actually need NSSavePanel - is there a comparable function to UIDocumentPickerViewController which would do the job? If anyone has addressed this issue I'd love to see your solution!
8
0
2.5k
Jun ’20