Add version-segmented deprecated API guide (latest-apis.md)#28
Merged
Conversation
Based on a comparison of Apple's documentation using the Sosumi MCP, we found the latest recommended APIs to use. This adds a comprehensive deprecated-to-modern API reference with 25+ transitions organized by minimum deployment target (iOS 15+ through iOS 26+). - Create references/latest-apis.md with version-segmented code examples - Elevate latest-apis.md as required first step in all SKILL.md workflows - Add Latest APIs review checklist section
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ed6cb9be04
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- Move @entry macro to "Always Use" section: Apple docs confirm it back-deploys to iOS 13+ (Xcode 16 macro, not iOS 18+ only) - Remove GeometryReader from deprecated lookup table: it is not deprecated, containerRelativeFrame/visualEffect are alternatives for specific use cases, not replacements - Reframe GeometryReader prose as a suggestion per AGENTS.md guidelines
The @observable and onChange checklist items are specific instances already covered by "No deprecated modifiers used" + the required latest-apis.md reference. Keeping them would imply they're more important than the other 20+ transitions in the guide.
4 tasks
|
|
||
| ### Animation | ||
|
|
||
| **Use `animation(_:value:)` instead of `animation(_:)` without a value parameter.** |
Collaborator
There was a problem hiding this comment.
animation(_:value:) is back deployed to iOS 13+, it should be added to the always use section
|
|
||
| ## When Targeting iOS 26+ | ||
|
|
||
| ### Liquid Glass |
Collaborator
There was a problem hiding this comment.
I think we should remove the Liquid Glass section from her since we already have a reference for it, What do you think ?
Collaborator
|
@AvdLee Nice one man ❤️ |
… Liquid Glass section - Move animation(_:value:) from iOS 17+ to Always Use section since it back-deploys to iOS 13+ - Remove entire "When Targeting iOS 26+" section (Liquid Glass, scroll edge effects, background extension, tab bar) since it duplicates the existing references/liquid-glass.md and these are new APIs, not deprecated-to-modern transitions - Update Table of Contents and Quick Lookup Table accordingly
Only the Liquid Glass subsection should have been removed (it duplicates references/liquid-glass.md). The other iOS 26+ entries (scroll edge effects, background extension, tab bar minimize) are new API guidance and belong here. - Re-add iOS 26+ to Table of Contents - Replace Liquid Glass code examples with a link to liquid-glass.md - Keep Scroll Edge Effects, Background Extension, Tab Bar subsections
EngOmarElsayed
approved these changes
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Based on a comparison of Apple's documentation using the Sosumi MCP, we found the latest recommended APIs to use. This PR enriches the SwiftUI Expert Skill with a comprehensive deprecated-to-modern API guide, version-segmented by minimum deployment target.
Files changed:
swiftui-expert-skill/SKILL.md-- elevatedlatest-apis.mdas required first step in all workflows + added review checklist sectionswiftui-expert-skill/references/latest-apis.md-- new file with version-segmented code examples for 25+ deprecated-to-modern API transitionsNew Deprecated-to-Modern Transitions Added
accessibility(label:)accessibilityLabel()accessibility(value:)accessibilityValue()accessibility(hidden:)accessibilityHidden()accessibility(hint:)accessibilityHint()accessibility(addTraits:)accessibilityAddTraits()accessibility(removeTraits:)accessibilityRemoveTraits()accentColor(_:)tint(_:)colorScheme(_:)preferredColorScheme(_:)foregroundColor(_:)foregroundStyle()cornerRadius(_:)clipShape(.rect(cornerRadius:))navigationBarTitle(_:)navigationTitle(_:)navigationBarItems(...)toolbar { ToolbarItem(...) }navigationBarHidden(_:)toolbarVisibility(.hidden, for: .navigationBar)navigationViewStyle(_:)NavigationStack/NavigationSplitViewdirectlystatusBar(hidden:)statusBarHidden(_:)NavigationViewNavigationStack/NavigationSplitViewedgesIgnoringSafeArea(_:)ignoresSafeArea(_:edges:)coordinateSpace(name:)coordinateSpace(.named(...))GeometryReader(for sizing)containerRelativeFrame()/visualEffect()autocapitalization(_:)textInputAutocapitalization(_:)disableAutocorrection(_:)autocorrectionDisabled(_:)TextFieldonCommit/onEditingChangedonSubmit+focusedactionSheet(...)confirmationDialog(...)alert(isPresented:content:)alert(_:isPresented:actions:message:)animation(_:)(no value)animation(_:value:)MagnificationGestureMagnifyGestureRotationGestureRotateGestureObservableObject@ObservabletabItem(_:)TabAPIEnvironmentKey@EntrymacroVersion Segmentation
The guide is organized by minimum deployment target so agents apply the correct subset:
Test plan
references/latest-apis.mdlinks in SKILL.md resolve correctly