ASIHTTPRequest 使用
来源:互联网 发布:苹果mac怎么切换系统 编辑:程序博客网 时间:2024/05/16 15:49
首先介绍两篇写得不错的博客:
http://blog.csdn.net/kmyhy/article/details/6524916
http://www.dreamingwish.com/dream-category/api-in-chinese/asihttprequest-doc
要使用ASIHTTPRequest此开源库,首先要下载源码 http://github.com/pokeb/asi-http-request/tree
ASIHTTPRequest 是一个开源项目,要使用他,直接拷贝项目源文件到你的项目中,包括下列文件(即Classes下所有文件和External/Reachability下所有文件):
- ASIHTTPRequestConfig.h
- ASIHTTPRequestDelegate.h
- ASIProgressDelegate.h
- ASICacheDelegate.h
- ASIHTTPRequest.h
- ASIHTTPRequest.m
- ASIDataCompressor.h
- ASIDataCompressor.m
- ASIDataDecompressor.h
- ASIDataDecompressor.m
- ASIFormDataRequest.h
- ASIInputStream.h
- ASIInputStream.m
- ASIFormDataRequest.m
- ASINetworkQueue.h
- ASINetworkQueue.m
- ASIDownloadCache.h
- ASIDownloadCache.m
对于 iPhone,还要拷贝下列文件:
- ASIAuthenticationDialog.h
- ASIAuthenticationDialog.m
- Reachability.h (External/Reachability 目录 )
- Reachability.m (External/Reachability 目录 )
2、添加依赖库
ASIHTTPRequest 依赖于以下5个框架或库:
CFNetwork, SystemConfiguration, MobileCoreServices, CoreGraphics 和 libz1.2.3。
依次将上述库和框架添加到 target 的 Linked Libraries 中。
- ASIHTTPRequest使用
- ASIHTTPRequest 使用
- ASIHTTPRequest使用
- ASIHTTPRequest使用
- ASIHTTPRequest使用
- ASIHttpRequest 使用
- ASIHTTPRequest使用
- 转载]ASIHTTPRequest使用介绍
- ASIHTTPRequest使用介绍
- ASIHTTPRequest-Cookie的使用
- ASIHTTPRequest-使用download cache
- ASIHTTPRequest-使用代理连接
- ASIHTTPRequest使用介绍
- ASIHTTPRequest-Cookie的使用
- ASIHTTPRequest-使用download cache
- ASIHTTPRequest-使用代理连接
- ASIHTTPRequest-Cookie的使用
- ASIHTTPRequest使用简介
- Java IO与NIO的相关问题
- curl 参数
- 七夕,染红了我的相思
- js获取月的最后一天日期 .
- java 多态总结
- ASIHTTPRequest 使用
- iphone开发一些学习网站
- 在eclipse里,可以不下载插件也做到浏览文件位置。DIY哦。
- iphone开发学习网站
- 很久没有看c了,突然忘记c中的真假代表什么了,在vc++6.0测试一下
- Java程序员应该知道的10个调试技巧
- C语言---指针和函数(1)
- PeopleEditor允许客户端输入的同时验证输入的内容
- Android测试(二) Monkey