The asihttprequest framework that can run under the arc (and the 5.0 upgrade, the solution that is unavailable after the arc n multi-open source framework)
Source: Internet
Author: User
The asihttprequest framework that can run under the arc (and the solution that is 5.0 higher and N more open source frameworks cannot be used after the arc, almost all open-source frameworks cannot be used after arc is used.
Including asihttprequest, the most common framework for network connection, so I am dumpily modifying the source code of asihttprequest.
Solved the release, type conversion, non-local objects cannot be called back, and so on. After a lot of problems, I finally don't see the problem.
As a result, the program is still running and depressing.
Suddenly thought that arc was not compiled? In addition, Apple provides so many frameworks that it is impossible to change all of them for arc.
The source code of asihttprequest is compiled into the framework, and the framework is directly imported into the ARC project.
So cool, you don't have to worry about the previous framework being useless. You can do this.
The following is a simple example of how to package asihttprequest. framework:
After the framework is imported, you can add # import <asihttprequest/asihttprequestheader. h> to the Code to use the various functions provided by asihttprequest.
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.