Skip to main content

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)
  • /migrate — 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 /migrate

Type the command in the composer. /analyze lists deprecated APIs without changing anything; /migrate proposes modern replacements.
3

Review the diff

Modernize opens its window with the findings. For /migrate, 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 → Migrate:

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 Migrate automation on or off.
Use /analyze first to gauge how much is deprecated — it’s free and read-only — then run /migrate to apply the modern rewrites.