Command-G is an Xcode add-on that brings AI assistance directly into Apple’s IDE, helping iOS, macOS, and visionOS developers speed up everyday coding without switching apps.
Code completion with Codeium
Command-G includes free code autocomplete powered by Codeium. Suggestions appear as you type, which is useful for routine sections, common patterns, and repeated fragments.
- Inline autocomplete while writing code
- Helpful for boilerplate and repetitive logic
GPT-4 chat inside Xcode
By adding your API key, you can connect GPT-4 and chat with the model right in Xcode. It can explain code, generate functions, rewrite logic, or propose alternative implementations, with responses easy to insert into your project.
- Explain selected code
- Generate or refactor functions
- Suggest alternative approaches
Platform and typical use cases
Command-G is designed for macOS 12+ and focuses on common workflows for Apple-platform development.
- Faster typing and iteration
- Architecture experiments and quick prototypes
- Understanding unfamiliar codebases within Xcode

