All Projects → Kofktu → Wkcookiewebview

Kofktu / Wkcookiewebview

Licence: mit
WKWebView with cookie sharing support

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Wkcookiewebview

Bluetoothkit
Easily communicate between iOS/OSX devices using BLE
Stars: ✭ 2,027 (+1085.38%)
Mutual labels:  cocoapods, carthage
Ktvhttpcache
A powerful media cache framework.
Stars: ✭ 2,113 (+1135.67%)
Mutual labels:  cocoapods, carthage
Heapinspector For Ios
Find memory issues & leaks in your iOS app without instruments
Stars: ✭ 1,819 (+963.74%)
Mutual labels:  cocoapods, carthage
Auth0.swift
Swift toolkit for Auth0 API
Stars: ✭ 146 (-14.62%)
Mutual labels:  cocoapods, carthage
Multipeer
📱📲 A wrapper for the MultipeerConnectivity framework for automatic offline data transmission between devices
Stars: ✭ 170 (-0.58%)
Mutual labels:  cocoapods, carthage
Sdl ios
Get your app connected to the 🚙, make your users feel like a 🌟
Stars: ✭ 147 (-14.04%)
Mutual labels:  cocoapods, carthage
Apesuperhud
A simple way to display a HUD with a message or progress information in your application.
Stars: ✭ 156 (-8.77%)
Mutual labels:  cocoapods, carthage
Donut
Donut is a library for arranging views circularly like a donut.
Stars: ✭ 141 (-17.54%)
Mutual labels:  cocoapods, carthage
Bluetonium
Bluetooth mapping in Swift
Stars: ✭ 159 (-7.02%)
Mutual labels:  cocoapods, carthage
Zkudid
Generate and save permanent UDID with IDFV and keychain in iOS device.
Stars: ✭ 159 (-7.02%)
Mutual labels:  cocoapods, carthage
Eureka
Elegant iOS form builder in Swift
Stars: ✭ 11,345 (+6534.5%)
Mutual labels:  cocoapods, carthage
Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+7259.06%)
Mutual labels:  cocoapods, carthage
Sffocusviewlayout
UICollectionViewLayout with focused content
Stars: ✭ 1,760 (+929.24%)
Mutual labels:  cocoapods, carthage
Svprogresshud
A clean and lightweight progress HUD for your iOS and tvOS app.
Stars: ✭ 12,339 (+7115.79%)
Mutual labels:  cocoapods, carthage
Color
Color utilities for macOS, iOS, tvOS, and watchOS
Stars: ✭ 145 (-15.2%)
Mutual labels:  cocoapods, carthage
Underlinetextfield
Simple UITextfield Subclass with state
Stars: ✭ 156 (-8.77%)
Mutual labels:  cocoapods, carthage
Ducttape
📦 KeyPath dynamicMemberLookup based syntax sugar for Swift.
Stars: ✭ 138 (-19.3%)
Mutual labels:  cocoapods, carthage
Pipkit
Picture in Picture for iOS
Stars: ✭ 140 (-18.13%)
Mutual labels:  cocoapods, carthage
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (-7.6%)
Mutual labels:  cocoapods, carthage
Kvkcalendar
A most fully customization calendar and timeline library for iOS 📅
Stars: ✭ 160 (-6.43%)
Mutual labels:  cocoapods, carthage

WKCookieWebView

  • WKWebView with cookie sharing support

Requirements

  • iOS 8.0+
  • XCode 9.0+
  • Swift 5
  • Swift 4 (1.1.3)
  • Swift 3 (0.0.3)

Installation

CocoaPods

WKCookieWebView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'WKCookieWebView', '~> 2.0'

Carthage

For iOS 8+ projects with Carthage

github "Kofktu/WKCookieWebView"

Usage

When HTTPCookieStorage is updated

public var onUpdateCookieStorage: ((WKCookieWebView) -> Void)?

If you need to set WKWebViewConfiguration

let webView = WKCookieWebView(frame: frame, configurationBlock: { (configuration) in
    // customize configuration
})

Preloader

After running the app, before the first webview was loaded,
Cookies may not be set properly,
In that case, use the loader in advance to synchronize.

WKCookieWebView.preloadWithDomainForCookieSync(urlString: String, completion: (() -> Void)?)

Authors

Taeun Kim (kofktu), [email protected]

License

WKCookieWebView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].