From 9339c7fbd4131cbdb07f494e9b9f791a8e2f3b84 Mon Sep 17 00:00:00 2001 From: elmetal Date: Thu, 17 Oct 2024 14:03:21 +0900 Subject: [PATCH 1/2] add document root --- Sources/WebUI/Documentation.docc/WebUI.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Sources/WebUI/Documentation.docc/WebUI.md diff --git a/Sources/WebUI/Documentation.docc/WebUI.md b/Sources/WebUI/Documentation.docc/WebUI.md new file mode 100644 index 0000000..3812df0 --- /dev/null +++ b/Sources/WebUI/Documentation.docc/WebUI.md @@ -0,0 +1,10 @@ +# ``WebUI`` + +WebUI is a Swift Package for building WebView in SwiftUI. It wraps WKWebView and provides a simple API to load a URL or HTML string. + +## Additional Resources + - [GitHub Repository](https://github.com/cybozu/WebUI) + +## Overview + +This package provides a WebView component for SwiftUI. Building a WebView in SwiftUI is not straightforward because `WKWebView` has many instance methods to manipulate the web view. `WebUI` resolves instance method calls through proxy objects. From 8688bc375c7e4770848912af7897f4ab4261199d Mon Sep 17 00:00:00 2001 From: "Takuto NAKAMURA (Kyome)" Date: Thu, 17 Oct 2024 15:31:01 +0900 Subject: [PATCH 2/2] line spacing --- Sources/WebUI/Documentation.docc/WebUI.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/WebUI/Documentation.docc/WebUI.md b/Sources/WebUI/Documentation.docc/WebUI.md index 3812df0..76208a7 100644 --- a/Sources/WebUI/Documentation.docc/WebUI.md +++ b/Sources/WebUI/Documentation.docc/WebUI.md @@ -3,7 +3,8 @@ WebUI is a Swift Package for building WebView in SwiftUI. It wraps WKWebView and provides a simple API to load a URL or HTML string. ## Additional Resources - - [GitHub Repository](https://github.com/cybozu/WebUI) + +- [GitHub Repository](https://github.com/cybozu/WebUI) ## Overview