Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问可以写一个swift 版本吗?现在在使用swift写Hybrid ,想打包成cocopods库 #8

Open
Ucself opened this issue Mar 13, 2018 · 5 comments

Comments

@Ucself
Copy link

Ucself commented Mar 13, 2018

No description provided.

@yeatse
Copy link
Owner

yeatse commented Mar 13, 2018

就两个文件,做成 pod 库没必要吧😳

@Ucself
Copy link
Author

Ucself commented Mar 13, 2018

我具体描述一下吧:我想做一个pod 库,这个pod包含了一些封装的功能(使用swift开发的),但是这个pod库会引用NSURLProtocol-WebKitSupport。你这个是OC写的,我写的pod库是swift写的;怎样才能达到我想要的。

@yeatse
Copy link
Owner

yeatse commented Mar 14, 2018

Swift 库可以与 OC 混编的,具体可以参考下这个库

https://github.com/Yeatse/KingfisherWebP/tree/master/KingfisherWebP/Classes

@DingSoung
Copy link

简单 https://github.com/DingSoung/Extension/blob/master/Extension/WebKit/WKWebView%2BregisterScheme.swift

@Panway
Copy link

Panway commented May 5, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants