关于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

转载于:https://www.cnblogs.com/dreamfree/p/4214920.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值