Use of iOS Mknetworkkit

Source: Internet
Author: User

Commonly used frameworks such as: Afnetworking,asihttprequest,sdwebimage,mknetworkkit and so on.

IOS5 has been out so long, and asihttprequest the author has affirmed that not updated, in the IOS5 environment, in fact, there are some problems.

Now Mknetworkki absorbs the advantages of asihttprequest and afnetworking, and joins its own unique functions.

Download:GitHub Address: Https://github.com/MugunthKumar/MKNetworkKit.git
official instructions for use:http://blog.mugunthkumar.com/products/ios-framework-introducing-mknetworkkit/

GitHub downloaded the project, if you want to run its demo, be sure to open mknetworkkit.xcworkspace the file, if opened separately, the compile will prompt the missing LIBMKNETWORKKIT-IOS.A file!!!


Installation:after cloning, drag the mknetworkkit folder into the project and introduce 3 frameworks: cfnetwork.framework, systemconfiguration.framework, security.framework

Note: since Mknetworkkit supports arc, we have to open arc in the project , or we will get an error .

turn on the ARC automatic Memory control mechanism:( all dealloc,release,autorelease are commented out in the project after opening arc)

How to use: Import where you need to use:#import "MKNetworkKit.h" http Mode:

GET request :  POST request:
HTTPS mode:CopDownload File:Upload file:
Server-side Program (node. js) When uploading files:

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.