CocoaHTTPServer-master 2
2015-06-26 16:42
393 查看
上传文件的进度展示
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploadWithStart:)
name:UPLOADSTART
object:nil];
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploading:)
name:UPLOADING
object:nil];
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploadWithEnd:)
name:UPLOADEND
object:nil];
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploadWithDisconnect:)
name:UPLOADISCONNECTED
object:nil];
参考:https://github.com/robbiehanson/CocoaHTTPServer
技术交流群:132913650
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploadWithStart:)
name:UPLOADSTART
object:nil];
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploading:)
name:UPLOADING
object:nil];
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploadWithEnd:)
name:UPLOADEND
object:nil];
[[NSNotificationCenter
defaultCenter] addObserver:self
selector:@selector(uploadWithDisconnect:)
name:UPLOADISCONNECTED
object:nil];
参考:https://github.com/robbiehanson/CocoaHTTPServer
技术交流群:132913650
相关文章推荐
- 教你如何编写简单的网络爬虫
- 接口调用-http和https
- 拨开迷雾,近距离见识CloudStack的物理网络架构
- http://52test.org/posts/SIPp-IP-Telephone-Server-Performance-Testing.html
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/
- iOS9 beta 请求出现App Transport Security has blocked a cleartext HTTP (http://)
- 构建简易网络与网络设备的简单配置(Cisco Packet Tracer)第三弹:动态路由协议配置
- http://www.cnblogs.com/wenjingu/archive/2012/07/10/2584616.html
- 走进Linux02-网络配置
- CocoaHTTPServer-master
- CentOS6.6上编译安装httpd2.4
- HTTP协议详解(转)
- 网络图片查看器
- https实现
- java多线程<二>TCP/IP实现简单的多客户端聊天
- http://selectorgadget.com/
- 网络游戏外挂核心封包揭密
- NetImageTest获取网络中的图片资源
- iOS-检测监听网络状态(WIFI、2G/3G/4G)
- 【HTTP】Fiddler(二) - 使用Fiddler做抓包分析