NSOpenPanel 使用(MAC 打开文件夹对话框的使用)
1.得到多个选择的文件
2.指定文件类型
-(NSString *)get_fullpath
{
NSOpenPanel *panel = [NSOpenPanelopenPanel];
NSArray* fileTypes = [[NSArrayalloc] initWithObjects:@"txt",@"doc", nil
NSOpenPanel 使用(MAC 打开文件夹对话框的使用)
1.得到多个选择的文件
2.指定文件类型
-(NSString *)get_fullpath
{
NSOpenPanel *panel = [NSOpenPanelopenPanel];
NSArray* fileTypes = [[NSArrayalloc] initWithObjects:@"txt",@"doc", nil