{"id":23900699,"url":"https://github.com/pcjbird/quickwebkit","last_synced_at":"2025-04-10T20:54:46.869Z","repository":{"id":56921564,"uuid":"114636970","full_name":"pcjbird/QuickWebKit","owner":"pcjbird","description":"A great \u0026 strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器，您可以基于它设计您的浏览器插件，然后像积木一样来组装它们。","archived":false,"fork":false,"pushed_at":"2022-06-17T13:58:05.000Z","size":1803,"stargazers_count":33,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T18:44:37.354Z","etag":null,"topics":["bricks","cocoapods","easyjs","easyjswebview","jsbridge","mjrefresh","pcjbird","plan","plugin","pod","quick","smartjs","smartjswebview","spotlight","strong","toast","uiwebview","webview","webviewcontroller","wkwebview"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcjbird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-18T12:10:58.000Z","updated_at":"2024-06-27T06:54:08.000Z","dependencies_parsed_at":"2022-08-20T22:20:17.301Z","dependency_job_id":null,"html_url":"https://github.com/pcjbird/QuickWebKit","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickWebKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickWebKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickWebKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickWebKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcjbird","download_url":"https://codeload.github.com/pcjbird/QuickWebKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248297925,"owners_count":21080313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bricks","cocoapods","easyjs","easyjswebview","jsbridge","mjrefresh","pcjbird","plan","plugin","pod","quick","smartjs","smartjswebview","spotlight","strong","toast","uiwebview","webview","webviewcontroller","wkwebview"],"created_at":"2025-01-04T20:36:38.284Z","updated_at":"2025-04-10T20:54:46.833Z","avatar_url":"https://github.com/pcjbird.png","language":"Objective-C","readme":"![logo](https://github.com/pcjbird/QuickWebKit/raw/master/logo.png)\n[![Pod Version](http://img.shields.io/cocoapods/v/QuickWebKit.svg?style=flat)](http://cocoadocs.org/docsets/QuickWebKit/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/QuickWebKit.svg?style=flat)](http://cocoadocs.org/docsets/QuickWebKit/)\n[![Pod License](http://img.shields.io/cocoapods/l/QuickWebKit.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![GitHub release](https://img.shields.io/github/release/pcjbird/QuickWebKit.svg)](https://github.com/pcjbird/QuickWebKit/releases)\n[![GitHub release](https://img.shields.io/github/release-date/pcjbird/QuickWebKit.svg)](https://github.com/pcjbird/QuickWebKit/releases)\n[![Website](https://img.shields.io/website-pcjbird-down-green-red/https/shields.io.svg?label=author)](https://pcjbird.github.io)\n\n# QuickWebKit\n### A great \u0026 strong plugin based WebViewController. 一款基于插件的 WebView 视图控制器，您可以基于它设计您的浏览器插件，然后像积木一样来组装它们。\n\n## 特性 / Features\n\n1. 基于插件的 WebView 视图控制器, 像积木一样自由组装插件, 为 iOS 应用提供一个强大的 H5 容器。\n2. 基础 [SmartJSWebView](https://github.com/pcjbird/SmartJSWebView), 支持 H5 页面通过 JavaScript 与 Native App 交互的 WebView。\n3. 支持扩展, 您可以基于该 WebView 视图控制器定制开发您自己的插件。\n4. 强大的基础插件支持，您几乎无需写一行代码即可运行起一个强大的 H5 容器，满足大部分应用场景：\n\n*   QuickWebToastPlugin(toast插件) - 当页面出现错误时会以 toast 方式进行提示。\n*   QuickWebProviderPlugin(provider插件) - 类似微信中的“此网页由xxx提供”。\n*   QuickWebQRCodePlugin(qrcode插件) - 支持长按二维码图片进行二维码识别。\n*   QuickWebSharePlugin(share插件) - 支持将页面分享到社交平台的插件。\n*   QuickWebSpotlightPlugin(spotlight插件) - 支持将页面信息自动添加到 spotlight 搜索的插件。\n*   QuickWebLNRefreshPlugin(LNRefresh插件) - 基于 LNRefresh 下拉刷新的插件。\n*   QuickWebMJRefreshPlugin(MJRefresh插件) - 基于 MJRefresh 下拉刷新的插件。\n*   QuickWebJSBridgePlugin(JSBridge插件) - 基于 JS 与 Native 交互的插件, 已实现多个 proxies, 详见 CoreProxies 和 ExtProxies 目录。\n   \n   将持续更新......\n\n## 演示 / Demo\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/pcjbird/QuickWebKit/raw/master/demo.png\" title=\"demo\"\u003e\u003c/p\u003e\n\n##  安装 / Installation\n\n方法一：`QuickWebKit` is available through CocoaPods. To install it, simply add the following line to your Podfile:\n\n```\npod 'QuickWebKit'\n```\n\n## 使用 / Usage\n  \n```\n  QuickWebViewController *webVC = [QuickWebViewController alloc] initWithUrlString:@\"https://www.baidu.com\"];\n  QuickWebProviderPlugin *providerPlugin = [QuickWebProviderPlugin new];\n  [webVC registerPlugin:providerPlugin];\n  //...\n  [self.navigationController pushViewController:webVC animated:YES];\n``` \n  or\n```  \n  @interface BaseWebViewController : QuickWebViewController\n\n  @end\n  \n  @implementation BaseWebViewController\n\n  - (void)viewDidLoad {\n    // register your plugins here ...\n    [self registerPlugins];\n    [super viewDidLoad];\n  }\n  \n  -(void)registerPlugins\n  {\n    QuickWebProviderPlugin *providerPlugin = [QuickWebProviderPlugin new];\n    [self registerPlugin:providerPlugin];\n    //...\n  }\n  @end\n  \n  BaseWebViewController *webVC = [BaseWebViewController alloc] initWithUrlString:@\"https://www.baidu.com\"];\n  [self.navigationController pushViewController:webVC animated:YES];\n```\n\n待续...\n\n## 版本 / Releases\n\n\n####   2022-06-17 V2.0.5\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build202206170001\n\u003e 1.修正webview标题在某些情况下加载不了的问题。\n\u003e \n####   2020-06-11 V2.0.4\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build202006110001\n\u003e 1.新增日语翻译。\n\n####   2020-06-10 V2.0.3\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build202006100001\n\u003e 1.修正Bundle中其他语言翻译的问题。\n\n####   2020-05-07 V2.0.2\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build202005070002\n\u003e 1.调整回调日志的内容。\n\n\n####   2020-05-07 V2.0.1\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build202005070001\n\u003e 1.新增浏览器控制台打印JS方法。\n\n####   2020-03-02 V2.0.0\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build202003020001\n\u003e 1.remove UIWebView。\n\n####   2019-04-03 V1.3.5\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201904030001\n\u003e 1.build as static library bug fixed。\n\n####   2018-10-27 V1.3.4\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201810270001\n\u003e 1.try fix some crash bugs。\n\n####   2018-09-29 V1.3.3\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201809290001\n\u003e 1.恢复 QuickWebLNRefreshPlugin。\n\n####   2018-09-18 V1.3.2\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201809180001\n\u003e 1.XCode 10 support。\n\n####   2018-08-30 V1.3.1\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201808300001\n\u003e 1.remove some build warnings。\n\n####   2018-08-17 V1.3.0\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201808170001\n\u003e 1.新增导航栏按钮颜色偏好设置。\n\n####   2018-06-20 V1.2.9\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201806200001\n\u003e 1.兼容ZFPlayer最新版本。\n\n####   2018-04-10 V1.2.8\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201804100001\n\u003e 1.插件新增didCreateJavaScriptContext回调代理。\n    \n####   2018-03-26 V1.2.7\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803260001\n\u003e 1.修改分享内容description长度限制，取消空格替换(因为英文描述会有bug)。\n\n####   2018-03-21 V1.2.6\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803210002\n\u003e 1.放弃修改弹出菜单icon图片前景色。\n\n####   2018-03-21 V1.2.5\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803210001\n\u003e 1.修复导航设置网络图片失真的问题。        \n\u003e 2.控制设置导航标题为网络图片的显示大小。\n\n####   2018-03-20 V1.2.4\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803200002\n\u003e 1.修复设置导航title为网络图片时显示的大小问题。    \n\u003e 2.支持项目通过YPNavigationBarTransition修改导航背景色。\n\n####   2018-03-20 V1.2.3\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803200001\n\u003e 1.修复点击导航右侧按钮没有回调的问题。    \n\u003e 2.修复分享插件总是显示更多按钮的BUG。   \n\u003e 3.修改导航弹出菜单样式。   \n\u003e 4.修改导航右侧按钮顺序。      \n\n####   2018-03-15 V1.2.2\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803150001\n\u003e 1.QuickWebJSBridgeContactProxy: 新增一些浏览器控制台调试日志。\n\n####   2018-03-14 V1.2.1\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803140003\n\u003e 1.新增一些浏览器控制台调试日志。\n\n####   2018-03-14 V1.2.0\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803140002\n\u003e 1.修复JS插件system proxy部分接口无法调用的问题。\n\n####   2018-03-14 V1.1.9\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803140001\n\u003e 1.修复模糊查找联系人的BUG。\n\n####   2018-03-10 V1.1.8\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803100002\n\u003e 1.新增支持自定义QuickWebJSBridgePlugin JavascriptInterface 名称以及异步回调结果Ready回调通知的javscript函数。\n\n####   2018-03-10 V1.1.7\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201803100001\n\u003e 1.新增白名单功能。\n\n####   2018-02-20 V1.1.6\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201802200001\n\u003e 1.修复当网页加载到一半返回，仍然显示NetworkActivityIndicator的问题。    \n\u003e 2.修改注册和移除通知观察者函数名，防止被继承类复写，导致BUG排查困难的问题。\n\n####   2018-02-02 V1.1.5\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201802020001\n\u003e 1.修改JSProxy引用头文件大小写问题。\n\n####   2018-01-16 V1.1.4 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801160002\n\u003e 1.修改QuickWebSpotlightPlugin导致crash的BUG。\n\n####   2018-01-16 V1.1.3 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801160001\n\u003e 1.修改toast样式为共享样式。\n\n####   2018-01-14 V1.1.2 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801140001\n\u003e 1.修复QuickWebSpotlightPlugin无法处理Spotlight搜索点击结果的BUG。\n\n####   2018-01-10 V1.1.1 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801100001\n\u003e 1.修复QuickWebSharePlugin无法显示导航栏右侧分享按钮的BUG。\n\n####   2018-01-09 V1.1.0 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801090004\n\u003e 1.修复QuickWebQRCodePlugin链接检测到却无法打开的BUG。\n\n####   2018-01-09 V1.0.9 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801090003\n\u003e 1.修复QuickWebQRCodePlugin手势导致不能复制网页文本的BUG。\n\n####   2018-01-09 V1.0.8 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801090002\n\u003e 1.优化QuickWebQRCodePlugin插件手势。    \n\u003e 2.修复QuickWebQRCodePlugin本地化错误。\n\n####   2018-01-09 V1.0.7 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801090001\n\u003e 1.优化当作为navigationController的根视图时的显示问题。\n\n####   2018-01-06 V1.0.6 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801060001\n\u003e 1.修复Share插件与Spotlight插件导致Crash的问题。\n\n####   2018-01-05 V1.0.5 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801050001\n\u003e 1.修复当UINavigationBar的translucent为No时的显示问题。\n\n####   2018-01-04 V1.0.4 \n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801040001\n\u003e 1.新增Spotlight插件\n\n####   2018-01-02 V1.0.3\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801020003\n\u003e 1.新增LNRefresh和MJRefresh插件    \n\u003e 2.新增是否优先使用WKWebView初始化函数\n\n####   2018-01-02 V1.0.2\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801020002\n\u003e 1.修复QuickWebProviderPlugin字体颜色的问题\n\n####   2018-01-02 V1.0.1\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201801020001\n\u003e 1.修复dealloc中使用了weak导致的crash问题\n\n####   2017-12-24 V1.0.0\n![](https://avatars3.githubusercontent.com/u/6175452?s=16) **pcjbird** released build201712240001\n\u003e 1.首次发布SDK版本\n    \n## 关注我们 / Follow us\n  \n\u003ca href=\"https://itunes.apple.com/cn/app/iclock-一款满足-挑剔-的翻页时钟与任务闹钟/id1128196970?pt=117947806\u0026ct=com.github.pcjbird.QuickWebViewController\u0026mt=8\"\u003e\u003cimg src=\"https://github.com/pcjbird/AssetsExtractor/raw/master/iClock.gif\" width=\"400\" title=\"iClock - 一款满足“挑剔”的翻页时钟与任务闹钟\"\u003e\u003c/a\u003e\n\n[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=https://github.com/pcjbird/QuickWebViewController)\n[![Twitter Follow](https://img.shields.io/twitter/follow/pcjbird.svg?style=social)](https://twitter.com/pcjbird)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fquickwebkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcjbird%2Fquickwebkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fquickwebkit/lists"}