Can any one please tell, about the use of AFNetworking. Then it support all xcode version or not?

假如想象 提交于 2019-12-22 18:43:11

问题


I download one example from this link. Currently I am using xcode 4.2. It shows AFNetworkReachabilityStatus as undeclared variable. Please give any link to learn AFNetworking.


回答1:


There are different versions of AFNetworking.

Latest AFNetworking 2.0 and higher requires Xcode 5, targeting either iOS 6.0 and above, or Mac OS 10.8 Mountain Lion (64-bit with modern Cocoa runtime) and above.

For compatibility with iOS 5 or Mac OS X 10.7, use the 1.x release.

For compatibility with iOS 4.3 or Mac OS X 10.6, use the 0.10.x release.

Now if you want to support ios 4.3 or greater use 0.10 release.

AFNetworking Doc



来源:https://stackoverflow.com/questions/19517002/can-any-one-please-tell-about-the-use-of-afnetworking-then-it-support-all-xcod

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!