It’s been years since we saw artificial intelligence implemented in many software applications, but recently ChatGPT and other similar AIs have become extremely popular due to their ability to generate text, images, and even code. With the announcement of OpenAI’s new GPT-4 this week, users are already exploring its potential. It can even create iPhone apps using SwiftUI.
For those unfamiliar, GPT or Generative Pre-Training Transformer is the technology behind the popular ChatGPT. The new version, dubbed GPT-4, shows a “massive leap in natural language processing.” According to the developers, GPT-4 can better understand and generate more human-like text and also solve more difficult problems with better accuracy.
And for those who were already surprised by the possibilities that you can do with the previous versions of GPT, the new version expands the possibilities even further.
Using AI to build iPhone apps
On Twitter, developer Morten Just demonstrated how he used GPT-4 to create an iPhone app that recommends five new movies to the user every day – just ask the AI to use Apple’s SwiftUI language and explained that the app will have trailers and streaming aims to show platforms where each movie is available to watch.
Amazingly, GPT-4 provided the code for an iPhone app that does exactly what the developer asked for. As demonstrated in a video, the code resulted in a fully functional app that displays a list of five different movies with descriptions and trailers for each movie. The developer said the first build had some bugs, but GPT-4 fixed them “and apologized afterwards”.
Hey gpt4 make me an iphone app that recommends 5 new movies + trailers + places to watch every day.
My ambitions grew over time 👇 pic.twitter.com/oPUzT5Bjzi
— Morten Just (@mortenjust) March 15, 2023
It’s clearer than ever that artificial intelligence is here to stay, and examples like this show the impact such AI will have on our lives.
Apple, for example, has reportedly been working on similar technology for its platforms. Earlier this year, The Information reported that the company wants users to be able to create their own apps using Siri in the future. With GPT-4 this seems to be quite possible.
Imagine if one day Apple would integrate some kind of AI into its tool Swift Playgrounds or even Xcode. Not only would this allow average users to learn the basics of coding more easily, but it would also help developers solve more challenging problems in their apps’ code.
Until then, Just has shared the source code of the app created by GPT-4 on GitHub for those interested.
FTC: We use income earning auto affiliate links. More.