Overview
Apple deprecates APIs every release. Parsaa Modernize finds deprecated Apple APIs in the focused file and rewrites them to modern equivalents — with a diff you review before applying. Two slash commands drive it:/analyze— detect deprecated APIs only (free, read-only)/modernize— detect and rewrite them
How It Works
1
Focus a file in Xcode
Open the Swift file you want to check.
2
Run /analyze or /modernize
Type the command in the composer.
/analyze lists deprecated APIs without changing anything; /modernize proposes modern replacements.3
Review the diff
Modernize opens its window with the findings. For
/modernize, each change is shown as a diff.4
Apply
Apply the rewrite when you’re satisfied. Nothing changes until you confirm.
Configuration
Configure Modernize in Settings → Automation → Modernize:Model
Pick the model used for analysis and rewrites (separate from your chat default).
Auto-analyze on open
Automatically scan the file when the Modernize window opens.
Review before apply
Require a diff review before any change is written.
Enable / disable
Turn the Modernize automation on or off.