{"id":16684916,"url":"https://github.com/kofktu/wkcookiewebview","last_synced_at":"2025-04-09T18:21:15.400Z","repository":{"id":41156318,"uuid":"95277246","full_name":"Kofktu/WKCookieWebView","owner":"Kofktu","description":"WKWebView with cookie sharing support","archived":false,"fork":false,"pushed_at":"2023-08-04T00:30:06.000Z","size":91,"stargazers_count":200,"open_issues_count":7,"forks_count":30,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-02T16:08:25.898Z","etag":null,"topics":["carthage","cocoapods","cookie","httpcookiestorage","ios","swift","wkwebview"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/Kofktu.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,"governance":null}},"created_at":"2017-06-24T05:13:04.000Z","updated_at":"2025-02-20T12:50:26.000Z","dependencies_parsed_at":"2022-08-20T22:50:25.468Z","dependency_job_id":"6b7ad0e3-3f59-4c18-9499-34b95674e1fc","html_url":"https://github.com/Kofktu/WKCookieWebView","commit_stats":{"total_commits":49,"total_committers":5,"mean_commits":9.8,"dds":"0.20408163265306123","last_synced_commit":"33cf12f3778a48cad50efda6d88dab98050fa733"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kofktu%2FWKCookieWebView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kofktu%2FWKCookieWebView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kofktu%2FWKCookieWebView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kofktu%2FWKCookieWebView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kofktu","download_url":"https://codeload.github.com/Kofktu/WKCookieWebView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085474,"owners_count":21045167,"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":["carthage","cocoapods","cookie","httpcookiestorage","ios","swift","wkwebview"],"created_at":"2024-10-12T14:45:29.853Z","updated_at":"2025-04-09T18:21:15.380Z","avatar_url":"https://github.com/Kofktu.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WKCookieWebView\n\n- WKWebView with cookie sharing support\n\n## Requirements\n- iOS 8.0+\n- XCode 9.0+\n- Swift 5\n- Swift 4 ([1.1.3](https://github.com/Kofktu/WKCookieWebView/tree/1.1.3))\n- Swift 3 ([0.0.3](https://github.com/Kofktu/WKCookieWebView/tree/0.0.3))\n\n## Installation\n\n#### CocoaPods\nWKCookieWebView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'WKCookieWebView', '~\u003e 2.0'\n```\n\n#### Carthage\nFor iOS 8+ projects with [Carthage](https://github.com/Carthage/Carthage)\n\n```\ngithub \"Kofktu/WKCookieWebView\"\n```\n\n## Usage\n\n#### When HTTPCookieStorage is updated\n\n```swift\npublic var onUpdateCookieStorage: ((WKCookieWebView) -\u003e Void)?\n```\n\n#### If you need to set WKWebViewConfiguration\n\n```swift\nlet webView = WKCookieWebView(frame: frame, configurationBlock: { (configuration) in\n    // customize configuration\n})\n```\n\n#### Preloader\nAfter running the app, before the first webview was loaded,  \nCookies may not be set properly,  \nIn that case, use the loader in advance to synchronize.\n\n```swift\nWKCookieWebView.preloadWithDomainForCookieSync(urlString: String, completion: (() -\u003e Void)?)\n```\n\n## Authors\n\nTaeun Kim (kofktu), \u003ckofktu@gmail.com\u003e\n\n## License\n\nWKCookieWebView is available under the ```MIT``` license. See the ```LICENSE``` file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkofktu%2Fwkcookiewebview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkofktu%2Fwkcookiewebview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkofktu%2Fwkcookiewebview/lists"}