您的位置:首页 > 理论基础 > 计算机网络

关于iOS APP中网络层的设计

2017-07-27 19:32 288 查看
在iOS开发中,请求网络数据,处理获得的数据是很常见的功能,但是很少有资料会讨论关于网络的处理应该放在MVC中得哪个层中。

我在网上Google了一番,记下了几个觉得比较不错的链接。现记录如下:
http://stackoverflow.com/questions/4810289/best-architecture-for-an-ios-application-that-makes-many-network-requests?lq=1
这个答案提供了一个实际的设计
http://akosma.com/2011/09/20/a-proposed-architecture-for-network-bound-ios-apps/
这里面谈论了具体的实现
http://stackoverflow.com/questions/24162051/best-architectural-approaches-for-building-ios-networking-applications-rest-cli
这里面谈论了几个设计方法
http://stackoverflow.com/questions/27044970/afnetworking-2-0-how-to-pass-response-to-another-class-on-success?rq=1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: