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.

Recommended Videos

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.

Please enable Javascript to view this content

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.

Alex Blake
Alex Blake has been working with Digital Trends since 2019, where he spends most of his time writing about Mac computers…
ChatGPT vs. Perplexity: battle of the AI search engines
Perplexity on Nothing Phone 2a.

The days of Google's undisputed internet search dominance may be coming to an end. The rise of generative AI has ushered in a new means of finding information on the web, with ChatGPT and Perplexity AI leading the way.

Unlike traditional Google searches, these platforms scour the internet for information regarding your query, then synthesize an answer using a conversational tone rather than returning a list of websites where the information can be found. This approach has proven popular with users, even though it's raised some serious concerns with the content creators that these platforms scrape for their data. But which is best for you to actually use? Let's dig into how these two AI tools differ, and which will be the most helpful for your prompts.
Pricing and tiers
Perplexity is available at two price points: free and Pro. The free tier is available to everybody and offers unlimited "Quick" searches, 3 "Pro" searches per day, and access to the standard Perplexity AI model. The Pro plan, which costs $20/month, grants you unlimited Quick searches, 300 Pro searches per day, your choice of AI model (GPT-4o, Claude-3, or LLama 3.1), the ability to upload and analyze unlimited files as well as visualize answers using Playground AI, DALL-E, and SDXL.

Read more
​​OpenAI spills tea on Musk as Meta seeks block on for-profit dreams
A digital image of Elon Musk in front of a stylized background with the Twitter logo repeating.

OpenAI has been on a “Shipmas” product launch spree, launching its highly-awaited Sora video generator and onboarding millions of Apple ecosystem members with the Siri-ChatGPT integration. The company has also expanded its subscription portfolio as it races toward a for-profit status, which is reportedly a hot topic of debate internally.

Not everyone is happy with the AI behemoth abandoning its nonprofit roots, including one of its founding fathers and now rival, Elon Musk. The xAI chief filed a lawsuit against OpenAI earlier this year and has also been consistently taking potshots at the company.

Read more
ChatGPT has folders now
ChatGPT Projects

OpenAI is once again re-creating a Claude feature in ChatGPT. The company announced during Friday's "12 Days of OpenAI" event that its chatbot will now offer a folder system called "Projects" to help users organize their chats and data.

“This is really just another organizational tool. I think of these as smart folders,” Thomas Dimson, an OpenAI staff member, said during the live stream.

Read more