Codeium in Xcode

Install the Codeium extension in Xcode, and start seeing suggestions as you write comments and code.

Extension Installation


CodeiumForXcode README

Follow the instructions in the README of the public CodeiumForXcode repo. That's it!

Using Codeium



While Codeium supports many languages, we will demonstrate with examples in Python. In Xcode, create a new Python file


From Code

Codeium can suggest multiple lines of code given a fragment of code that you write! Give the following simple header a shot:
def fib(n):
Codeium should generate and suggest an entire function body, giving you a working implementation for the Nth Fibonacci number!


Accept Suggestion

If you like the suggestion, just press Tab to accept.


From Comments

Codeium can also understand comments, allowing you to get code from just a description of the desired functionality! Let's try the earlier example, except instead just write a comment and def, the Python keyword for functions:
# Nth Fibonacci number
Codeium should generate not just the function body as before, but also the function header!