Created
August 11, 2018 14:28
-
-
Save leoiphonedev/e4925e99d43ee0c9fd68c8988999ec91 to your computer and use it in GitHub Desktop.
Making ViewController.swift class as observer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.webView.addObserver(self, forKeyPath: #keyPath(WKWebView.isLoading), options: .new, context: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment