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
Create a branch from
main
named
update/latest-apis-YYYY-MM
(use current year and month).
Commit changes to
swiftui-expert-skill/references/latest-apis.md
.
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
searchAppleDocumentation
queries, then drill into specific paths with
fetchAppleDocumentation
.
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.