By default , we use the NSOpenPanel class method to open a open panel: -beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo: But I find that some software can open the open panel with new folder button , inculde the XCode , how to get it ? Thanks a lot!
From stackoverflow
-
[openPanel setCanCreateDirectories:YES]; ok ,I got it , thanks.
Mike Abdullah : You should mark this as the answer to your question then
0 comments:
Post a Comment