关于iOS APP中网络层的设计

在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

posted @ 2015-01-10 15:08  _freedom_yl  阅读(725)  评论(0编辑  收藏  举报