tags:

views:

92

answers:

1

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!

+2  A: 

[openPanel setCanCreateDirectories:YES]; ok ,I got it , thanks.

jin
You should mark this as the answer to your question then
Mike Abdullah