Skip to content

ReSwifter Help

Jeffrey Bakker edited this page Mar 31, 2026 · 3 revisions

This guide will explain how to use ReSwifter for your code snippet management.

Your first code snippet

When you start ReSwifter, you have options for getting your snippet content into it. You can copy from the clipboard, or send a snippet from Xcode.

Empty

When a snippet is pasted in or sent from Xcode, ReSwifter will generate a summary of what the snippet does, and display it as a description when it's added to a list view.

From Xcode

Language selection

By default, the language for Syntax Highlighting is Swift, but it may be changed via drop-down menu. Manually selected languages will be remembered for each snippet.

If you want the default langauge to change, you can create a folder with the name of the language. Any snippets created in or copied to this folder will by default have the language selected.

Snippets Folders

Snippets features

You may favourite a snippet, copy directly to clipboard, delete, or move it to another folder. You may edit the summary of a snippet.

Snippet contents are completely editable in the syntax-highlighted detail view of a selected snippet.

Live Editing

AI-assisted features

There are AI-assisted actions that you can take on a snippet*. Just hit the 'More...' button on a snippet, or use 'Snippets' from the menu bar.

Objective-C++ Snippet

*Note: Accuracy, consistency or reliability of AI-assisted tasks are to be considered with discretion. The language, length, complexity and nature of a snippet, and the AI task can all be combined factors in the quality of the result. Always double-check AI output before accepting it.

ReSwifter uses Apple's FoundationModels to do the processing entirely locally. The AI-generated output can be a mix of text and snippet, depending on the action chosen.

Objective-C++ Snippet Explained

Enabling AI features

Apple M1 or later hardware runing macOS Tahoe 26 or later is required. For the AI-assisted capabilities to work, you will need Apple Intelligence enabled (and downloaded) in your System Settings. You may have to restart ReSwifter after the model is downloaded.

Apple Intelligence

Xcode source editor extension

ReSwifter also has an editor extension for Xcode built right into it. When the extension is enabled, you can send code directly to ReSwifter from Xcode

You may select text, or have no selection, and when you choose the ReSwifter extension from Xcode's Editor menu, the current selection, or the contents of the current file if no selection, will be sent to ReSwifter.

Xcode Editor Extension

You may choose to edit the code manually, or apply AI-assisted augmentations to the code, and send it back to Xcode, which will replace the selection (or the entire file if there's no selection).

From Xcode

Enabling Xcode extension

By default, the extension is not enabled. You must have to run ReSwifter at least once first, then enable it in your System Settings app.

Click into your System Settings ⮕ General ⮕ Login Items and Extensions. If you're having trouble finding it, you may also open it via command-line:

open x-apple.systempreferences:com.apple.LoginItems-Settings.extension

Extensions By Category

Scroll to Extensions, choose By Category, and find Xcode Source Editor. Click the information button and enable ReSwifter in the popup window.

Extensions Xcode Source Editor

Alternatively, you can search Extensions By App and find ReSwifter, click the information button, and enable the Xcode Source Editor.

Extensions ReSwifter

Reporting Issues

Have an issue that is not covered above? Report it here.