Provide a delegate that handles the NSOpenSavePanelDelegate
protocol panel:shouldEnableURL:
method.
Allow all files type except one in NSOpenPanel
-
27-11-2021 - |
题
my application create a "new" type (extension) of file, let say its ".newtype", so when i want to browse files with NSOpenPanel to create it, this type of files have to be not selectable.
how can i pass ALL files type except ".newtype" to the NSOpenPanel instance ?
解决方案
不隶属于 StackOverflow