Presenting the open panel to the user
来源:互联网 发布:windows10风扇控制软件 编辑:程序博客网 时间:2024/05/16 15:23
- (IBAction)openExistingDocument:(id)sender { NSOpenPanel* panel = [NSOpenPanel openPanel]; // This method displays the panel and returns immediately. // The completion handler is called when the user selects an // item or cancels the panel. [panel beginWithCompletionHandler:^(NSInteger result){ if (result == NSFileHandlingPanelOKButton) { NSURL* theDoc = [[panel URLs] objectAtIndex:0]; // Open the document. }}]; }
0 0
- Presenting the open panel to the user
- Presenting the Permanent Generation
- Open the VMware Tools Control Panel
- How to hidden/display the left panel?
- Sending the User to Another App
- Sending the User to Another App
- Sending the User to Another App
- How to restore the deleted panel in Ubuntu
- How to open the .bin file
- Unable to open the service ‘tomcat6’
- 关于Unable to open the Service 'tomcat7'
- unable to open the service 'tomcat'
- unable to open the service tomcatxxx
- Tomcat Unable to open the service 'Tomcat*'
- VLC unable to open the mrl
- The request to open "bundle id" failed.
- WS_EX_CONTROLPARENT Allows the user to navigate among the child windows of the window by using the
- how to show error(404) to the user
- 关键帧动画CAKeyframeAnimation
- Map的一些子类的用法和区别
- IOS-NSDate之今天,昨天,这周,这个月,上个月
- lucune
- CentOS上编译安装OpenCV-2.3.1与ffmpeg-2.1.2
- Presenting the open panel to the user
- 著名手机制造商诺基亚、摩托罗拉、爱立信为什么让苹果、三星打得一败涂地?
- 查看Centos服务器当前的并发数
- Linux内核访问外设I/O资源的方式 地址映射
- BCGControlBar Ribbon工具栏主分类按钮BUG解决方法
- VS2005空白项目添加打印信息的方法
- MYSQL命令行基本操作
- cpp沉思录笔记1---类设计者的核查表
- 用mysql workbench导出mysql数据库关系图