Usage
To push your web view you need to do the following steps:
-
import WebViewer
-
Just do it in your controller
let content = LinkContent(url: URL(string: "https://www.google.com")!, title: "Google") let coordinator = LinkViewerCoordinator(content: content, controller: self, delegate: self) coordinator.start()
- Implement LinkViewerCoordinatorDelegate in your controller
That's it.
Installation
-
cd /Project.xcodeproj
-
git submodule add https://github.com/tarasChernysh/WebViewer.git
-
drag to root directory file WebViewer.xcodeproj(uncheck Copy if needed)
-
add WebViewer like framework to your project (Target -> General -> Frameworks)
That's it.