Learning iOS D10 2017-11-2(网络请求
2017-11-02 本文已影响0人
Cho_WillJun
URL 拼接格式
protocol :// hostname[:port] / path / [;parameters][?query]#fragment
http://xxxx-xxxx-service.xxxx.com/xxx.-yxxxx/rs/client/ClientSupportValue/list
protocol:http
hostname:xxxx-xxx-service.xxxxx.com
path:client/ClientSupportValue
注意请求方法 get方法与put方法的配置
使用handyJSON从服务端取来数据
闭包传值 传回result 对result进行处理
对数据进行展示Swift和自动引用计数(ARC)整理之强,弱和无主引用
链接二 看得懵逼