
Update Swiftui Apis
- 1.7k installs
- 3.3k repo stars
- Updated July 24, 2026
- avdlee/swiftui-agent-skill
update-swiftui-apis refreshes SwiftUI deprecated-to-modern API mappings via Sosumi MCP scans.
About
The update-swiftui-apis skill systematically scans Apple developer documentation through Sosumi MCP (searchAppleDocumentation, fetchAppleDocumentation, fetchAppleVideoTranscript, fetchExternalDocumentation) to find deprecated SwiftUI APIs and modern replacements. Workflow reads swiftui-expert-skill/references/latest-apis.md for current coverage and version segments (iOS 15+ through 26+), loads scan manifest, compares new deprecations, and updates the Quick Lookup Table. Prerequisites require Sosumi MCP enabled and repository write access. Use after new iOS or Xcode releases or when asked to refresh deprecated SwiftUI APIs. Scans Apple docs via Sosumi MCP for SwiftUI deprecations and replacements Updates swiftui-expert-skill/references/latest-apis.md and Quick Lookup Table Version segments tracked for iOS 15+ through 26+ API transitions Uses scan manifest workflow for systematic coverage Requires Sosumi MCP search and fetch documentation tools update-swiftui-apis refreshes SwiftUI deprecated-to-modern API mappings via Sosumi MCP scans Updated latest-apis.md with new deprecated-to-modern transitions and lookup table User asks refresh deprecated SwiftUI APIs, scan API changes, or pos.
- Scans Apple docs via Sosumi MCP for SwiftUI deprecations and replacements.
- Updates swiftui-expert-skill/references/latest-apis.md and Quick Lookup Table.
- Version segments tracked for iOS 15+ through 26+ API transitions.
- Uses scan manifest workflow for systematic coverage.
- Requires Sosumi MCP search and fetch documentation tools.
Update Swiftui Apis by the numbers
- 1,694 all-time installs (skills.sh)
- +55 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #134 of 1,048 Mobile Development skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
update-swiftui-apis capabilities & compatibility
- Capabilities
- doc scanning · deprecation detection · replacement mapping · reference file updates · version segment tracking
- Use cases
- documentation · refactoring
npx skills add https://github.com/avdlee/swiftui-agent-skill --skill update-swiftui-apisAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.7k |
|---|---|
| repo stars | ★ 3.3k |
| Security audit | 2 / 3 scanners passed |
| Last updated | July 24, 2026 |
| Repository | avdlee/swiftui-agent-skill ↗ |
How do I find new SwiftUI deprecations and update our latest-apis reference?
Scan Apple SwiftUI docs via Sosumi MCP for deprecated APIs and update latest-apis.md with modern replacements.
Who is it for?
Maintainers refreshing SwiftUI expert skill after iOS or Xcode releases.
Skip if: General SwiftUI app feature implementation without API refresh scope.
When should I use this skill?
User asks refresh deprecated SwiftUI APIs, scan API changes, or post-iOS release update.
What you get
Updated latest-apis.md with new deprecated-to-modern transitions and lookup table.
- updated SwiftUI view files
- refreshed API scan manifest entries
By the numbers
- Navigation category includes 5 documented Apple documentation paths in the manifest excerpt
Files
Update SwiftUI APIs
Systematically scan Apple's developer documentation via the Sosumi MCP, identify deprecated SwiftUI APIs and their modern replacements, and update swiftui-expert-skill/references/latest-apis.md.
Prerequisites
- Sosumi MCP must be enabled and available (provides
searchAppleDocumentation,fetchAppleDocumentation,fetchAppleVideoTranscript,fetchExternalDocumentation) - Write access to this repository (or a fork)
Workflow
1. Understand current coverage
Read swiftui-expert-skill/references/latest-apis.md to understand:
- Which deprecated-to-modern transitions are already documented
- The version segments in use (iOS 15+, 16+, 17+, 18+, 26+)
- The Quick Lookup Table at the bottom
2. Load the scan manifest
Read references/scan-manifest.md (relative to this skill). It contains the categorized list of API areas, documentation paths, search queries, and WWDC video paths to scan.
3. Scan Apple documentation
For each category in the manifest:
1. Call searchAppleDocumentation with the listed queries to discover relevant pages. 2. Call fetchAppleDocumentation with specific documentation paths to get full API details. 3. Look for deprecation notices, "Deprecated" labels, and "Use ... instead" guidance. 4. Note the iOS version where the modern replacement became available. 5. Optionally call fetchAppleVideoTranscript for WWDC sessions that announce API changes.
Batch related searches together for efficiency. Focus on finding new deprecations not yet in latest-apis.md.
4. Compare and identify changes
Compare findings against existing entries. Categorize results:
- New deprecations: APIs not yet documented in
latest-apis.md - Corrections: Existing entries that need updating (wrong version, better replacement available)
- New version segments: If a new iOS version introduces deprecations, add a new section
5. Update latest-apis.md
Follow the established format exactly. Each entry must include:
Section placement -- place under the correct version segment:
- "Always Use (iOS 15+)" for long-deprecated APIs
- "When Targeting iOS 16+" / "17+" / "18+" / "26+" for version-gated changes
Entry format:
**Always use `modernAPI()` instead of `deprecatedAPI()`.**
\```swift
// Modern
View()
.modernAPI()
// Deprecated
View()
.deprecatedAPI()
\```Quick Lookup Table -- add a row at the bottom of the file:
| `deprecatedAPI()` | `modernAPI()` | iOS XX+ |Keep the attribution line at the top of the file:
Based on a comparison of Apple's documentation using the Sosumi MCP, we found the latest recommended APIs to use.
6. Open a pull request
1. Create a branch from main named update/latest-apis-YYYY-MM (use current year and month). 2. Commit changes to swiftui-expert-skill/references/latest-apis.md. 3. Open a PR via gh pr create with:
- Title: "Update latest SwiftUI APIs (Month Year)"
- Body: Summary of new/changed entries, attribution to Sosumi MCP
Sosumi MCP Tool Reference
| Tool | Parameters | Returns |
|---|---|---|
searchAppleDocumentation | query (string) | JSON with results[] containing title, url, description, breadcrumbs, tags, type |
fetchAppleDocumentation | path (string, e.g. /documentation/swiftui/view/foregroundstyle(_:)) | Markdown documentation content |
fetchAppleVideoTranscript | path (string, e.g. /videos/play/wwdc2025/10133) | Markdown transcript |
fetchExternalDocumentation | url (string, full https URL) | Markdown documentation content |
Tips
- Start broad with
searchAppleDocumentationqueries, then drill into specific paths withfetchAppleDocumentation. - Apple's deprecation docs typically say "Deprecated" in the page and link to the replacement.
- WWDC "What's new in SwiftUI" sessions are the best source for newly introduced replacements.
- When unsure about the exact iOS version for a deprecation, verify by checking the "Availability" section in the fetched documentation.
- If an API is deprecated but no direct replacement exists, note this rather than suggesting an incorrect alternative.
SwiftUI API Scan Manifest
Categorized list of API areas to scan via the Sosumi MCP. For each category: search queries to run, documentation paths to fetch, and WWDC sessions to check.
Add new categories or paths as Apple introduces new APIs.
---
Navigation
Search queries:
SwiftUI NavigationStackSwiftUI NavigationSplitViewSwiftUI navigationTitleSwiftUI toolbarSwiftUI NavigationLink deprecated
Documentation paths:
/documentation/swiftui/navigationstack/documentation/swiftui/navigationsplitview/documentation/swiftui/navigationlink/documentation/swiftui/view/navigationtitle(_:)-avgj/documentation/swiftui/view/toolbar(content:)-5w0tj/documentation/swiftui/view/toolbarvisibility(_:for:)
---
Appearance & Styling
Search queries:
SwiftUI foregroundStyleSwiftUI foregroundColor deprecatedSwiftUI tint modifierSwiftUI preferredColorSchemeSwiftUI clipShape
Documentation paths:
/documentation/swiftui/view/foregroundstyle(_:)/documentation/swiftui/view/foregroundcolor(_:)/documentation/swiftui/view/tint(_:)-93mfq/documentation/swiftui/view/preferredcolorscheme(_:)/documentation/swiftui/view/clipshape(_:style:)
---
State Management
Search queries:
SwiftUI Observable macroSwiftUI ObservableObject deprecatedSwiftUI BindableSwiftUI StateSwiftUI Entry macro
Documentation paths:
/documentation/observation/observable()/documentation/swiftui/observableobject/documentation/swiftui/bindable/documentation/swiftui/state/documentation/swiftui/entry()/documentation/swiftui/environmentvalues
---
Presentation & Alerts
Search queries:
SwiftUI alert modifierSwiftUI confirmationDialogSwiftUI actionSheet deprecatedSwiftUI sheet modifierSwiftUI fullScreenCover
Documentation paths:
/documentation/swiftui/view/alert(_:ispresented:actions:message:)-8dvt8/documentation/swiftui/view/confirmationdialog(_:ispresented:titlevisibility:actions:message:)-43f72/documentation/swiftui/view/sheet(ispresented:ondismiss:content:)
---
Text Input
Search queries:
SwiftUI TextField onSubmitSwiftUI textInputAutocapitalizationSwiftUI autocorrectionDisabledSwiftUI focused modifier
Documentation paths:
/documentation/swiftui/view/onsubmit(of:_:)/documentation/swiftui/view/textinputautocapitalization(_:)/documentation/swiftui/view/autocorrectiondisabled(_:)/documentation/swiftui/focusstate
---
Layout
Search queries:
SwiftUI ignoresSafeAreaSwiftUI containerRelativeFrameSwiftUI visualEffectSwiftUI GeometryReaderSwiftUI coordinateSpace
Documentation paths:
/documentation/swiftui/view/ignoressafearea(_:edges:)/documentation/swiftui/view/containerrelativeframe(_:alignment:_:)/documentation/swiftui/view/visualeffect(_:)/documentation/swiftui/geometryreader/documentation/swiftui/view/coordinatespace(_:)
---
Gestures
Search queries:
SwiftUI MagnifyGestureSwiftUI RotateGestureSwiftUI MagnificationGesture deprecatedSwiftUI RotationGesture deprecated
Documentation paths:
/documentation/swiftui/magnifygesture/documentation/swiftui/rotategesture/documentation/swiftui/magnificationgesture/documentation/swiftui/rotationgesture
---
Accessibility
Search queries:
SwiftUI accessibilityLabelSwiftUI accessibility deprecatedSwiftUI accessibilityRepresentation
Documentation paths:
/documentation/swiftui/view/accessibilitylabel(_:)-1d7jv/documentation/swiftui/view/accessibilityvalue(_:)-7a2ql/documentation/swiftui/view/accessibilityhint(_:)/documentation/swiftui/view/accessibilityrepresentation(representation:)
---
Animations
Search queries:
SwiftUI animation value deprecatedSwiftUI withAnimationSwiftUI phaseAnimatorSwiftUI keyframeAnimator
Documentation paths:
/documentation/swiftui/view/animation(_:value:)/documentation/swiftui/view/phaseanimator(_:content:animation:)/documentation/swiftui/view/keyframeanimator(initialvalue:repeating:content:keyframes:)
---
Tabs
Search queries:
SwiftUI Tab APISwiftUI tabItem deprecatedSwiftUI TabView
Documentation paths:
/documentation/swiftui/tab/documentation/swiftui/tabview/documentation/swiftui/view/tabitem(_:)
---
Previews
Search queries:
SwiftUI PreviewableSwiftUI Preview macro
Documentation paths:
/documentation/swiftui/previewable()/documentation/swiftui/preview(_:body:)
---
Liquid Glass (iOS 26+)
Search queries:
SwiftUI glassEffectSwiftUI GlassEffectContainerSwiftUI glassProminentSwiftUI backgroundExtensionEffect
Documentation paths:
/documentation/swiftui/view/glasseffect(_:in:isenabled:)/documentation/swiftui/glasseffectcontainer/documentation/swiftui/view/backgroundextensioneffect()/documentation/swiftui/view/scrolledgeeffectstyle(_:for:)/documentation/swiftui/view/tabbarminimizebehavior(_:)
---
Scroll & Lists
Search queries:
SwiftUI ScrollViewReaderSwiftUI scrollPositionSwiftUI scrollTargetBehaviorSwiftUI ForEach
Documentation paths:
/documentation/swiftui/scrollviewreader/documentation/swiftui/view/scrollposition(id:)/documentation/swiftui/view/scrolltargetbehavior(_:)/documentation/swiftui/foreach
---
WWDC Sessions
Key "What's new in SwiftUI" sessions to check for API announcements:
/videos/play/wwdc2024/10144- What's new in SwiftUI (WWDC24)/videos/play/wwdc2024/10145- SwiftUI essentials (WWDC24)/videos/play/wwdc2025/232- What's new in SwiftUI (WWDC25)/videos/play/wwdc2023/10148- What's new in SwiftUI (WWDC23)/videos/play/wwdc2022/10052- What's new in SwiftUI (WWDC22)
When a new WWDC occurs, add the latest "What's new in SwiftUI" session path here.
Related skills
How it compares
Use Update SwiftUI APIs when you need a repeatable, manifest-driven SwiftUI deprecation scan instead of manual Apple doc hunting per modifier.
FAQ
What MCP is required?
Sosumi MCP with searchAppleDocumentation and fetchAppleDocumentation tools.
Which file gets updated?
swiftui-expert-skill/references/latest-apis.md including the Quick Lookup Table.
When should this run?
After new iOS/Xcode releases or when asked to scan for SwiftUI API changes.
Is Update Swiftui Apis safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.