Swiftpack.co - danielsaidi/WebViewKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by danielsaidi.
danielsaidi/WebViewKit 0.2.1
WebViewKit adds a WebView to SwiftUI.
⭐️ 30
🕓 23 weeks ago
iOS macOS
.package(url: "https://github.com/danielsaidi/WebViewKit.git", from: "0.2.1")

WebViewKit

Version Swift UI Swift 5.6 MIT License Twitter: @danielsaidi

About WebViewKit

WebViewKit adds a SwiftUI WebView that can be used to embed local and online web sites in your SwiftUI apps.

The result can look like this or be presented in sheets, full screen covers etc.:

The WebView view can load any url and be fully configured to fit your needs. For more basic needs, you have a SafariWebView as well.

Supported Platforms

WebViewKit supports iOS 13 and macOS 11.

Installation

WebViewKit can be installed with the Swift Package Manager:

https://github.com/danielsaidi/WebViewKit.git

You can also clone the repository and build the library locally.

Getting started

The online documentation has a getting-started guide that will help you get started with the library.

Documentation

The online documentation has articles, code examples etc. that let you overview the various parts of the library.

The online documentation is currently iOS-specific. To generate documentation for other platforms, open the package in Xcode, select a simulator then run Product/Build Documentation.

Demo Application

This project has a demo app that lets you explore the library on iOS and macOS. To try it out, just open and run Demo/Demo.xcodeproj.

Support

You can sponsor this project on GitHub Sponsors or get in touch for paid support.

Contact

Feel free to reach out if you have questions or if you want to contribute in any way:

License

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

GitHub

link
Stars: 30
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

23 weeks ago

✨ New features

  • WebView now supports providing an empty url and no config block.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics