Using ChatGPT to Build iOS Apps

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

ChatGPT is the AI-tool that brought chat-based LLMs to the masses. Although there are many other tools that offer the same functionality, ChatGPT is the one that has entered the lexicon, joining the ranks of Hoover, Jacuzzi and Google.

It is a chat-like interface that sits on top of a whole host of OpenAI models. You access it at chatgpt.com, and although you have to sign up for an account, you can have limited free access.

Although ChatGPT can be used to generate code (since it’s using the same underlying models that we’d use for code generation), the interface isn’t ideal. Each time you ask for code, you’d then have to copy-paste it into your IDE to get it to run.

It is, however, excellent at generating text, and answering questions. So much so that it can often be a reasonable replacement for a web search.

When you ask a question that is founded in fact, ChatGPT will often research the answer in addition to writing about it using its own knowledge. This can result in more factually correct answers, and the sources used are cited alongside the answer.

This can be incredibly helpful if you’re researching a new API, or you want to achieve something, but you’re not sure of whether an API exists. Simply describe your issue, and ChatGPT will attempt to answer you, having researched the appropriate API documentation.

Yesterday’s Weather

I have an idea for an excellent app. Whenever you open it, it will find out and show you the weather at your current location precisely 24 hours ago. I think you’ll agree that it’s a stroke of genius. I can’t actually think of any use cases for this at all, which is an excellent way to start building software.

See forum comments
Download course materials from Github
Previous: Introduction Next: Writing a Software Spec Using ChatGPT