Xcode source editor extension

Write the code.
Let AI document it.

Select a Swift declaration and generate clear DocC comments without leaving Xcode. Use OpenAI, Claude, a local Ollama model, or your own compatible endpoint.

  • macOS 14+
  • Keys stored in Keychain
  • Local models supported
CheckoutService.swift Ollama · llama3.1:8b
/// Calculates the total for a collection of items.
///
/// - Parameter items: Items included in the order.
/// - Returns: The combined price of every item.
func total(for items: [Item]) -> Decimal {
    items.reduce(0) { $0 + $1.price }
}
EditorCode documentation Generated in Xcode

Your model, your choice

One Xcode command.
Four ways to run it.

Connect several services, then mark the provider and model you want the extension to use.

OACloud

OpenAI / Codex

Fetch every model available to your API key, including coding-focused models.

ANCloud

Anthropic Claude

Choose from the Claude models available to your Anthropic account.

OLPrivate

Ollama

Discover models installed on this Mac or another Ollama server on your network.

APIFlexible

Custom API

Bring an OpenAI-compatible endpoint, optional key, and any model identifier.

A short path from code to context

Document a declaration in three steps.

  1. 01

    Connect a service

    Add a provider, fetch its available models, and choose the one you want to use.

  2. 02

    Select Swift in Xcode

    Highlight a function, type, property, or any declaration that needs documentation.

  3. 03

    Generate DocC comments

    Run Analyse and Generate. Comment Writer inserts formatted documentation above the selection.

Local when you want it

Your source can stay on your Mac.

Use Ollama with a local model and Comment Writer talks directly to the server address you choose. No API key is required.

$ ollama list → models ready
Xcode

Native to Xcode

The source editor extension inserts comments where you are already working.

Active

One active provider

Configure several connections and switch the active service whenever your work changes.

Credentials handled properly

API keys live in Keychain.

Keys are not written into project files or shared preferences. Comment Writer retrieves the selected credential only when it contacts that provider.

Before you install

Questions, answered.

Can I configure more than one AI service?

Yes. Each provider keeps its own connection and model selection. The card marked Active is the one the Xcode extension uses.

Does Comment Writer include an AI subscription?

No. You connect your own provider account, local Ollama server, or compatible API.

What happens when Ollama is not running?

Model discovery fails quickly with a connection message. It does not leave the Xcode command running indefinitely.

Can I enter a model that is not returned?

Yes. Every provider includes a custom model option for identifiers that are available but not listed by its discovery endpoint.

Less explaining. Better code context.

Give the next reader the comment you meant to write.

View on the App Store