danielsaidi/WebViewKit
A WebView & SafariWebView for SwiftUI.
Installation
WebViewKit can be installed with the Swift Package Manager:
https://github.com/danielsaidi/WebViewKit.gitSupport My Work
You can [become a sponsor][Sponsors] to help me dedicate more time on my various [open-source tools][OpenSource]. Every contribution, no matter the size, makes a real difference in keeping these tools free and actively developed.
Getting started
The library's main view is `WebView`, which can be used to display any URL:
import SwiftUI
import WebViewKit
struct MyView {
var body: some View {
WebView(urlString: "https://danielsaidi.com")
}
}See the online [getting started guide][Getting-Started] for more information.
Documentation
The online [documentation][Documentation] has more information, articles, code examples, etc.
Demo Application
The Demo folder has an app that lets you explore the library and try out the views.
Contact
Feel free to reach out if you have questions, or want to contribute in any way:
- Website: [danielsaidi.com][Website]
- E-mail: [daniel.saidi@gmail.com][Email]
- Bluesky: [@danielsaidi@bsky.social][Bluesky]
- Mastodon: [@danielsaidi@mastodon.social][Mastodon]
License
WebViewKit is available under the MIT license. See the [LICENSE][License] file for more info.
[Email]: mailto:daniel.saidi@gmail.com [Website]: https://danielsaidi.com [GitHub]: https://github.com/danielsaidi [OpenSource]: https://danielsaidi.com/opensource [Sponsors]: https://github.com/sponsors/danielsaidi
[Bluesky]: https://bsky.app/profile/danielsaidi.bsky.social [Mastodon]: https://mastodon.social/@danielsaidi [Twitter]: https://twitter.com/danielsaidi
[Documentation]: https://danielsaidi.github.io/WebViewKit [Getting-Started]: https://danielsaidi.github.io/WebViewKit/documentation/webviewkit/getting-started [License]: https://github.com/danielsaidi/WebViewKit/blob/master/LICENSE
Package Metadata
Repository: danielsaidi/WebViewKit
Homepage: https://danielsaidi.com/opensource
Stars: 152
Forks: 16
Open issues: 0
Default branch: main
Primary language: shell
License: MIT
Topics: ios, macos, safari, swift, swiftui, visionos, web, webview, wkwebview
README: README.md
Archived: yes