Writing Code

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

You learnt before about how GitHub Copilot for Xcode has both Ask and Agent modes. You saw how the Ask mode worked in the last video, so next up you’re going to explore Agent mode.

Once again, you interact with Copilot through a chat window, but now, it has the power (or, agency, maybe) to interact with the code. It has tools for creating files, editing files and running bash commands.

We’re going to finally start work on the Yesterday’s Weather app, and start by asking Copilot to create the main view. That should use Swift UI, and display some of the attributes we’d expect.

See forum comments
Download course materials from Github
Previous: Installation & Code Completion Next: Creating a View