随笔分类 -  Mac之swift中系统NSRequest,NSURLRequest

摘要:import Cocoa class ViewController: NSViewController { override var representedObject: Any? { didSet { // Update the view, if already loaded. } } //6断点 阅读全文
posted @ 2019-04-01 20:30 sundaysmac 阅读(618) 评论(0) 推荐(0)
摘要://// 使用系统默认的方式创建URLSession 基本流程如下 let kServerBaseUrl = "http://127.0.0.1/iosxHelper/SAPI" func urlSessionNoDelegateTest() { //创建一个默认的Session配置 let def 阅读全文
posted @ 2019-04-01 15:29 sundaysmac 阅读(586) 评论(0) 推荐(0)