Download apps/ios/Sources/Screen/ScreenWebView.swift from quinnz/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/quinnz/openclaw/resolve/main/apps/ios/Sources/Screen/ScreenWebView.swift
- Command line
-
hf download hf://spaces/quinnz/openclaw/apps/ios/Sources/Screen/ScreenWebView.swift
-
curl -L -o ScreenWebView.swift https://huggingface.co/spaces/quinnz/openclaw/resolve/main/apps/ios/Sources/Screen/ScreenWebView.swift
352 Bytes
| import OpenClawKit | |
| import SwiftUI | |
| import WebKit | |
| struct ScreenWebView: UIViewRepresentable { | |
| var controller: ScreenController | |
| func makeUIView(context: Context) -> WKWebView { | |
| self.controller.webView | |
| } | |
| func updateUIView(_ webView: WKWebView, context: Context) { | |
| // State changes are driven by ScreenController. | |
| } | |
| } | |