ios - 在 iOS 应用程序中管理网络调用的库/框架

标签 ios objective-c asihttprequest mknetworkkit

<分区>


要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于 Stack Overflow 来说是偏离主题的,因为它们往往会吸引自以为是的答案和垃圾邮件。相反,describe the problem以及迄今为止为解决该问题所做的工作。

已关闭 9 年前

我尝试开发一个需要大量网络调用的 iOS 应用程序...

我发现SDK中提供的iOS类很少。

在开始之前我想知道是否有任何库或框架脱颖而出?或者你能推荐我最常用的吗?

我在互联网上做了一些研究,发现了两个框架 MKNetworkKitASIHTTPRequest .有人认识他们吗?他们高效吗?

谢谢。

最佳答案

使用 AFNetworking .

然而,ASIHTTPRequest 也是管理网络调用的最佳框架之一,但现在使用得不多。

甚至是 ASIHTTPRequest 的开发人员 says :

A little update: I've actually really enjoyed using AFNetworking, and in many ways it's considerably better (probably not the right word: 'refined', maybe) than ASI. That said, you shouldn't go into it expecting a 'like for like' replacement, and there are certain things you may want to consider other options for (Amazon S3, which ASI supported out of the box for example). But I'm generally really pleased, and find it a clear, well documented library. So if you're looking to move from ASI to something else, you really can't go wrong with AFNetworking.

AFNetworkingASI 更加精致。支持Question .

关于ios - 在 iOS 应用程序中管理网络调用的库/框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17762379/

上一篇:iphone - 将当前位置从 iPhone 发布到 Rails

下一篇:ios - 方法混合实现未发生

相关文章:

ios - 后退按钮没有相应的颜色( objective-c )

objective-c - 制作冒号 : align vertically in code

iphone - 是否可以在任何 iOS 应用程序中创建自动更新功能

ios - 正在获取 "App couldn’ t 无法打开,因为您无权查看它。 “将项目代码从 swift 2.2 转换为 swift 3.0 后

iPhone + Drupal + JSON RPC 服务器问题

ios - 在不使用 ASIHTTPRequest 的情况下在 iOS 中下载整个网页

iphone - 核心数据还是 ASIHTTPRequest 缓存?

iOS IAP : Buying same item multiple times

iphone - NSDate 减去一个月

Android:在后台上传/下载文件数量的最佳方式