¡@

Home 

2014/10/15 ¤U¤È 10:11:37

iphone Programming Glossary: myapiclient

AFNetworking - How to make POST request

http://stackoverflow.com/questions/11294769/afnetworking-how-to-make-post-request

client. If you aren't I would suggest doing it. Just create a custom class to handle your network client for you. MyAPIClient.h #import Foundation Foundation.h #import AFHTTPClient.h @interface MyAPIClient AFHTTPClient MyAPIClient sharedClient @end.. to handle your network client for you. MyAPIClient.h #import Foundation Foundation.h #import AFHTTPClient.h @interface MyAPIClient AFHTTPClient MyAPIClient sharedClient @end MyAPIClient.m @implementation MyAPIClient MyAPIClient sharedClient static MyAPIClient.. for you. MyAPIClient.h #import Foundation Foundation.h #import AFHTTPClient.h @interface MyAPIClient AFHTTPClient MyAPIClient sharedClient @end MyAPIClient.m @implementation MyAPIClient MyAPIClient sharedClient static MyAPIClient _sharedClient nil..