Seems like I must be overlooking something in documentation.
How do I specify a directory I want to start in when I use runModal with NSOpenPanel.
Some methods are deprecated in 10.6.
You set this using setDirectoryURL
before displaying the panel with beginSheetModalForWindow:completionHandler:
It's specified in the documentation. NSOpenPanel
subclasses NSSavePanel
so you can use those methods as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With