Skip to content
All work
Case study

Uninstaller

Right-click an app in Finder and choose Uninstall. It finds the app's leftover files, background jobs and helpers, and moves everything to the Trash so you can undo it.

Role
Solo, covering design, build and the app icon
Timeline
Nov 2026
Status
In progress
Stack
Swift, SwiftUI, Finder Sync, Claude Code
Uninstaller listing an app's leftovers by category, with safe matches ticked and a Move to Trash button

Overview

Dragging a Mac app to the Trash leaves its data behind: caches, preferences, containers, saved state, and sometimes a LaunchAgent that keeps starting a helper. Uninstaller adds Uninstall to Finder’s right-click menu. It shows everything it found that belongs to the app, grouped by category with the safe matches already ticked, and moves the selection to the Trash.

The problem

Existing uninstallers tend to sit at one of two extremes:

Some apps also install launchd jobs and privileged helpers in system folders. Those keep running after the app is gone and need admin rights to remove.

Approach

The project is generated with XcodeGen and has two targets: the app and an embedded Finder Sync extension that adds the menu item.

Identify the app. The scanner reads the app’s bundle ID and team ID, plus the IDs of its own helpers and extensions and its App Groups. It also finds other copies of the same app, since their data lives in the same places. Apps without a bundle ID are refused, because their files can’t be identified safely. Protected system apps are refused too.

Scan about 20 known locations, in both the user and system Library folders. These include Application Support, Containers and Group Containers, Caches, HTTPStorages, WebKit, Preferences, Saved Application State, Logs, LaunchAgents and LaunchDaemons, and PrivilegedHelperTools.

Classify each match. A match can be the app itself, an exact bundle ID, a launchd job whose plist points back to the app, an App Group, or a name-only match. Only the strong kinds are ticked by default. Name-only matches are shown but left unticked.

Key decisions

Everything goes to the Trash. Removal uses the Trash, never a permanent delete, so any uninstall can be undone. The app bundle goes first. If it can’t be removed, its data stays with it.

Stop background jobs before removing them. A LaunchAgent plist is unloaded before it’s moved, so the helper doesn’t keep running from a file that no longer exists.

Ask for admin only when needed. Items in folders the user can’t write to are gathered and removed together with a single admin prompt, after everything else.

In progress: a second opinion from Claude

The rules are deliberately strict, so some leftovers are missed, such as a helper with an unusual name or a sudo rule. I’m building an optional extra review that collects nearby files whose names share a meaningful word with the app. Common words like “helper” and “updater” are filtered out, and anything matching another installed app is skipped. The collected paths go to Claude Code in headless mode, on the user’s own subscription.

Privacy and safety were the design constraints:

Outcome

What I’d do next