Skip to main content
  1. Home
  2. Computing
  3. News

Apple’s ChatGPT rival may automatically write code for you

Add as a preferred source on Google

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.

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…
Android desktop mode made me miss my laptop in record time
I tried writing and publishing from Google’s phone-to-monitor setup, and the future of mobile computing immediately started sweating.
Computer, Electronics, Laptop

Android 17 desktop mode has a very simple pitch. Plug your phone into a monitor, add a keyboard and mouse, and watch the slab in your pocket pretend to be a computer. I wanted to give that pitch a fair shot, so I tried using it for an actual workday instead of a cute demo.

The goal was boring on purpose: write an article, edit it, build the page in WordPress, upload whatever needed uploading, and publish the thing without running back to my laptop like a coward.

Read more
As AI turbocharges digital abuse, UK agencies urge parents to limit who sees kids’ photos online
The National Crime Agency and Internet Watch Foundation are asking parents to tighten privacy settings as AI-generated abuse material rises.
Social Media

Parents who post pictures of their kids online are being told to rethink the habit. The UK's National Crime Agency and the Internet Watch Foundation have issued new guidance urging families to lock down their social media accounts, warning that publicly shared photos are increasingly being pulled and altered by AI tools to create child sexual abuse material.

The two organizations say most parents have no idea this is happening. Criminals no longer need to contact a child directly to generate such material. They can scrape an ordinary photo and run it through widely available nudify apps.

Read more
I used ASUS’ dual-screen laptop as a portable creative station, and my desk PC started collecting dust
The Zenbook Duo might be the creator setup I wanted in college
Computer Hardware, Electronics, Hardware

With laptops, brands are constantly in a balancing act between portability and workspace productivity. The ASUS Zenbook Duo UX8407AA tries to dodge that choice with a design that brings a whole setup in a compact form factor.

I used the Zenbook Duo as a creative machine, mainly with design apps, illustration work, writing, and multitasking. The model I tried runs on Intel’s Core Ultra 7 355, paired with 32GB of memory and a 1TB SSD. That gives it enough horsepower to handle Photoshop and Animate, for sketches and animations, and a lot more without breaking a sweat.

Read more