Agent skill · Data & Analytics

swiftui-webkit

Embeds and controls web content in SwiftUI with WebKit for SwiftUI, including WebView, WebPage, navigation policies, JavaScript execution, observable page state, link interception, local HTML or data loading, and custom URL schemes. Use when building iOS 26+ article/detail views, help centers, in-app documentation, or other embedded web experiences backed by HTML, CSS, and JavaScript.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill swiftui-webkit --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 12 KB
Bundled scripts: none
Path: skills/swiftui-webkit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# SwiftUI WebKit Embed and manage web content in SwiftUI using the native WebKit-for-SwiftUI APIs introduced for iOS 26, iPadOS 26, macOS 26, and visionOS 26. Use this skill when the app needs an integrated web surface, app-owned HTML content, JavaScript-backed page interaction, or custom navigation policy control. ## Contents - [Choose the Right Web Container](#choose-the-right-web-container) - [Displaying Web Content](#displaying-web-content) - [Loading and Observing with WebPage](#loading-and-observing-with-webpage) - [Navigation Policies](#navigation-policies) - [JavaScript Integration](#javascript-integration) - [Local Content and Custom URL Schemes](#local-content-and-custom-url-schemes) - [WebView Customization](#webview-customization) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Choose the Right Web Container Use the narrowest tool that matches the job. | Need | Default choice | |---|---| | Embedded app-owned web content in SwiftUI | `WebView` + `WebPage` | | iOS/iPadOS modal browsing with Safari behavior | `SFSafariViewController` | | macOS or visionOS browse-out behavior | `openURL` / default browser | | OAut

What's inside
Steps it walks through
  1. Contents
  2. Choose the Right Web Container
  3. Displaying Web Content
  4. Loading and Observing with WebPage
  5. Navigation Policies
  6. JavaScript Integration
  7. Local Content and Custom URL Schemes
  8. WebView Customization
  9. Common Mistakes
  10. Review Checklist
  11. References
Ships with 5 files
  • evals/evals.json
  • references/loading-and-observation.md
  • references/local-content-and-custom-schemes.md
  • references/migration-and-fallbacks.md
  • references/navigation-and-javascript.md
More from swift-ios-skills
All skills →
About this skill
What does the swiftui-webkit skill do?

Embeds and controls web content in SwiftUI with WebKit for SwiftUI, including WebView, WebPage, navigation policies, JavaScript execution, observable page state, link interception, local HTML or data loading, and custom URL schemes. Use when building iOS 26+ article/detail views, help centers, in-app documentation, or other embedded web experiences backed by HTML, CSS, and JavaScript.

How do I install it?

Run `npx skills add dpearson2699/swift-ios-skills --skill swiftui-webkit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going