Skip to main content

Apple’s ChatGPT rival may automatically write code for you

Artificial intelligence (AI) tools like ChatGPT and Bing Chat have exploded in popularity over the past year, yet industry titan Apple has remained conspicuously quiet on the matter. Now, though, we might know what could be in store for us if the Cupertino firm decides to launch its own AI chatbot.

In a recently granted patent (#US-11687830-B2), Apple explains how it could infuse machine learning (ML) tech into its Xcode app, which may allow it to automatically write code for developers. If successful, that could be a major boost for app builders who work within Apple’s ecosystem — and could mean better apps for users.

A slide of Xcode running on MacOS Monterey at Apple's WWDC 2021 event
Image used with permission by copyright holder

The patent notes that ML could be used to automatically complete lines of code, check existing code for bugs, and more. These simple tasks alone could help save developers a bunch of time.

Beyond that, though, Apple potentially sees its idea as removing barriers for new developers who might not be familiar with how to set up the right software and hardware in order to use ML models.

To that end, Apple’s patent explains how a new system could include ML models “within an integrated software development environment” in a similar way as familiar features like functions and classes. This would then allow the developer to take advantage of all that ML goodness just as they would use a regular library or class when coding, with no complicated setup required. In other words, using machine learning to assist with your code would feel instantly recognizable.

Built into Xcode

Coding on a Mac using virtual machines via VMWare Fusion Pro.
Image used with permission by copyright holder

It sounds like Apple will embed its code-writing tool directly into the Xcode app rather than release a standalone chatbot, much like how Adobe is building AI tools right into Photoshop. It’s possible it could also find its way into other Apple apps, perhaps providing a system-wide AI helper in the vein of Microsoft’s Copilot.

The fact that AI tools like ChatGPT are easy to use and get to work quickly means Apple’s idea could be seriously attractive to developers. Building it into Xcode — an app developers use all over the world — means code writers wouldn’t have to learn how to use an additional app to reap the benefits.

Speaking of benefits, though, those are far from guaranteed, and Apple’s existing AI efforts are something of a mixed bag. The iPhone 14’s AI-assisted photography skills are exceptional — Siri, famously, is not.

Still, you’d expect Apple to make a decent go of its AI code-writing bot given how much money it has to throw at the problem. If you write a lot of code, watch this space.

Editors' Recommendations

Alex Blake
In ancient times, people like Alex would have been shunned for their nerdy ways and strange opinions on cheese. Today, he…
Copilot: how to use Microsoft’s own version of ChatGPT
Microsoft's AI Copilot being used in various Microsoft Office apps.

ChatGPT isn’t the only AI chatbot in town. One direct competitor is Microsoft’s Copilot (formerly Bing Chat), and if you’ve never used it before, you should definitely give it a try. As part of a greater suite of Microsoft tools, Copilot can be integrated into your smartphone, tablet, and desktop experience, thanks to a Copilot sidebar in Microsoft Edge. 

Like any good AI chatbot, Copilot’s abilities are constantly evolving, so you can always expect something new from this generative learning professional. Today though, we’re giving a crash course on where to find Copilot, how to download it, and how you can use the amazing bot. 
How to get Microsoft Copilot
Microsoft Copilot comes to Bing and Edge. Microsoft

Read more
GPTZero: how to use the ChatGPT detection tool
A MidJourney rendering of a student and his robot friend in front of a blackboard.

In terms of world-changing technologies, ChatGPT has truly made a massive impact on the way people think about writing and coding in the short time that it's been available. Being able to plug in a prompt and get out a stream of almost good enough text is a tempting proposition for many people who aren't confident in their writing skills or are looking to save time. However, this ability has come with a significant downside, particularly in education, where students are tempted to use ChatGPT for their own papers or exams. That prevents them from learning as much as they could, which has given teachers a whole new headache when it comes to detecting AI use.

Teachers and other users are now looking for ways to detect the use of ChatGPT in students' work, and many are turning to tools like GPTZero, a ChatGPT detection tool built by Princeton University student Edward Tian. The software is available to everyone, so if you want to try it out and see the chances that a particular piece of text was written using ChatGPT, here's how you can do that.
What is GPTZero?

Read more
Is ChatGPT safe? Here are the risks to consider before using it
A response from ChatGPT on an Android phone.

For those who have seen ChatGPT in action, you know just how amazing this generative AI tool can be. And if you haven’t seen ChatGPT do its thing, prepare to have your mind blown! 

There’s no doubting the power and performance of OpenAI’s famous chatbot, but is ChatGPT actually safe to use? While tech leaders the world over are concerned over the evolutionary development of AI, these global concerns don’t necessarily translate to an individual user experience. With that being said, let’s take a closer look at ChatGPT to help you hone in on your comfort level.
Privacy and financial leaks
In at least one instance, chat history between users was mixed up. On March 20, 2023, ChatGPT creator OpenAI discovered a problem, and ChatGPT was down for several hours. Around that time, a few ChatGPT users saw the conversation history of other people instead of their own. Possibly more concerning was the news that payment-related information from ChatGPT-Plus subscribers might have leaked as well.

Read more