Getting Started with iOS Network programming: ASIHTTPRequest Framework Installation and configuration

Source: Internet
Author: User

The ASIHTTPRequest framework is an excellent third party OBJECTIVE-C HTTP framework that supports HTTP development under Mac OS X and iOS. The technical Support website is http://allseeing-i.com/ASIHTTPRequest/. Has the following advantages:

Support for downloading data in memory or local files

Easy access to request and answer HTTP headers

Support Cookies

Support for GZIP requests or responses

Support Caching

Support for synchronous or asynchronous requests

Support HTTPS

But the ASIHTTPRequest framework does not support arc, which is a bit of a hassle if you develop configuration under arc. The examples we present in this chapter are based on the development under arc.

Installing and configuring the ASIHTTPRequest framework

First download address https://github.com/pokeb/asi-http-request/tree, download complete open asi-http-request directory, select files to add to our iOS project.

Then we also need to add some supported class libraries or frameworks for the project, which include:

Cfnetwork.framework

Systemconfiguration.framework

Mobilecoreservices.framework

Coregraphics.framework

Libz.dylib

Select the project's targets (number ①), select Build phases (number ②), and then select the number ③, pop-up dialog box, in the dialog box to select the above frame or class library. Finally click the Add button shown in the number ④.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.