• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • iOS單元測試和UI測試全面解析(22)

    發表于:2017-03-31來源:51CTO作者:朱先忠點擊數: 標簽:單元測試iOS
    lettestBundle=Bundle( for :type( of :self)) letpath=testBundle.path(forResource: abbaData ,ofType: json ) letdata=try?Data(contentsOf:URL(fileURLWithPath:path!),options:.alwaysMapped) leturl=URL(strin
    1. let testBundle = Bundle(for: type(of: self)) 
    2. let path = testBundle.path(forResource: "abbaData", ofType: "json"
    3. let data = try? Data(contentsOf: URL(fileURLWithPath: path!), options: .alwaysMapped) 
    4.   
    5. let url = URL(string: "https://itunes.apple.com/search?media=music&entity=song&term=abba"
    6. let urlResponse = HTTPURLResponse(url: url!, statusCode: 200, httpVersion: nil, headerFields: nil) 
    7. 原文轉自:http://mobile.51cto.com/iphone-535758.htm

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>