首页 > 学院 > 开发设计 > 正文

关于iOSAPP中网络层的设计

2019-11-14 19:40:02
字体:
来源:转载
供稿:网友

在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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表