摘要:
1、fatal error: file '/Applications/Xcode5-DP.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h' has been modified since the precompiled header '/Users/sumomochuufuku/Librar 阅读全文
摘要:
下边是两种对数据的解析 xml、和json因两种方式都比较简单 所以直接附上源码 相信能一眼读懂json的是系统的id dat=[NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainerserror:nil];其中data是下载下来的数据 optionstypedef NS_OPTIONS(NSUInteger, NSJSONReadingOptions) { NSJSONReadingMutableContainers = (1UL ..,通过XMLString属性// NSLo... 阅读全文
摘要:
ASI 使用ASIHttpRequest第三方开源库进行信息的下载导入ASIHttpRequest源码//创建一个ASI对象 ASIHTTPRequest *request =[ASIHTTPRequestrequestWithURL:url]; //设置代理 request.delegate = self; //不同request可以通过tag值进行标记 request.tag = 100; //request执行异步请求数据,默认请求方式为get请求 [request startAsynchronous]; //[request startSynchronous];(同步请... 阅读全文