Hide URLSession behind a protocol; Define func dataTask(with url: URL, completionHandler: ... ) -> URLSessionDataTask in the protocol; Make ...
確定! 回上一頁