Giter VIP home page Giter VIP logo

Comments (4)

WillieWangWei avatar WillieWangWei commented on June 15, 2024

建议创建一个 Swift 类,封装 WLM3U 的接口给业务调用。需要注意的是,为了能让 OC 代码调用,新的接口要屏蔽掉 Swift 特有的类型或语法。

WLM3U --> Bridge(Swift) --> @objc API --> OC

from wlm3u.

TinyMAX avatar TinyMAX commented on June 15, 2024

遇到另一个问题。我调用 cancel 暂停任务后,再调用attach重新开始下载,控制台输入:[Attach Success] 30062020166,但是没有继续下载了,回调没有响应

from wlm3u.

TinyMAX avatar TinyMAX commented on June 15, 2024

这是返回的错误,请求超时:Task .<10> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x600003b06970 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask .<10>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDownloadTask .<10>"

from wlm3u.

WillieWangWei avatar WillieWangWei commented on June 15, 2024

把 URL 发一下

from wlm3u.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.