Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacRumors

macrumors bot
Original poster
Apr 12, 2001
65,670
34,289


Popular AI coding tool Copilot is now available for Xcode as part of a public preview, GitHub announced today. Apple developers can use Copilot for coding assistance directly in Xcode, which GitHub says will help developers boost productivity, speed up development, and enhance their overall coding experience.

copilot-for-xcode.jpg

GitHub Copilot for Xcode offers multiple useful features.
  • Code completions with real-time code suggestions.
  • Multi-language support, including Swift and Objective-C.
  • Multiline suggestions for code.
  • Content filtering to ensure all code recommendations adhere to professional standards.
  • Option to block suggestions matching public code.
Xcode users who have a Copilot license can use Copilot for Xcode by installing the Copilot extension. As of right now, the feature is available in a preview capacity and GitHub is soliciting feedback from developers.

Copilot is priced starting at $10 per month or $100 per year.

Article Link: GitHub Brings Copilot to Xcode
 

iMean

macrumors member
Oct 26, 2023
41
246
I’ve had a few months of experience with those autopilots, and all I can say is that I got tired of pressing the escape key to cancel predictions, so I ended up disabling them altogether. I really wish they were better, though and surely I will test it again and again from time to time.
 

rotvaldi

macrumors regular
Jul 5, 2023
118
230
I’ve had a few months of experience with those autopilots, and all I can say is that I got tired of pressing the escape key to cancel predictions, so I ended up disabling them altogether. I really wish they were better, though and surely I will test it again and again from time to time.
I have done great stuff with Claude Sonnet 3.5
 

wyrdness

macrumors 6502
Dec 2, 2008
274
322
I’ve had a few months of experience with those autopilots, and all I can say is that I got tired of pressing the escape key to cancel predictions, so I ended up disabling them altogether. I really wish they were better, though and surely I will test it again and again from time to time.

Huh?
What does this help?
I've been using Copilot with CLion and VSCode for quite a while now. It really excels at autogenerating boilerplate code and doc comments, which saves a huge amount of time. Some of its predictions are so good, they're almost magical. It's also great when learning new programming languages and can help to get you up to speed really quickly. Sometimes it will generate code that doesn't work at all but, overall, it's a really great tool. It almost always beats Google / Stackexchange for answers to tricky programming problems.
 

AF_APPLETALK

macrumors 6502a
Nov 12, 2020
671
921
The autocomplete features are usually junky, but the chat bot is great for research/finding best practices and efficiencies.

Interestingly, I find GTP services severely lacking/worthless when it comes to swift and objective-c. Most other languages are great.

Curious if Apple’s feature will work better for swift/obj-c than the rest.
 

WilliApple

macrumors 6502a
Feb 19, 2022
979
1,417
Colorado
Im a iOS/macOS dev myself.
For anyone that actually used Copilot, is it any good and worth the subscription?
I hate subscriptions, but if it will help me release things faster while keeping my code integrity, it might be a good thing for me. Idk yet.
 
  • Love
Reactions: krakenrelease

dwnz

macrumors newbie
Feb 23, 2023
6
20
New Zealand
I've been using Copilot for ages now - it's not perfect but it saves me so much time - and has taught me a heap of new ways to do things. I use it heavily in my dev tools - C#/SQL for my API, Swift for my iOS app and Kotlin for the Android version. Have been learning Flutter recently, has made that way more simple. Gets things wrong as you'd expect but as a general I think it's worth it.

Have been using a third party plugin with XCode, will be interesting to see how the proper Github one goes in terms of performance and not randomly stopping working.
 

AF_APPLETALK

macrumors 6502a
Nov 12, 2020
671
921
Im a iOS/macOS dev myself.
For anyone that actually used Copilot, is it any good and worth the subscription?
I hate subscriptions, but if it will help me release things faster while keeping my code integrity, it might be a good thing for me. Idk yet.
I find it’s really useful and amazing for more popular stacks. Things like rails, Django, flutter.

It hasn’t been super great for swift or obj-c imo. Answers are outdated, code samples don’t just work/you have to reinvent it to get it to work.
 
  • Like
Reactions: krakenrelease

DeepIn2U

macrumors G5
May 30, 2002
13,047
6,983
Toronto, Ontario, Canada
Great, can't wait to test it out
What about Perplexity or how does CoPilot compare to LLM-Studio for on-device LLM use & coding?

VERY interesting times ... especially with M4 Pro in 2024. NOW the Mac Mini looks VERY promising.

Strange to see GitHub (owned by Microsoft) able to still get their name on the Mac with their LLM/Ai (via Open-AI) with their brand name CoPilot.
 
  • Like
Reactions: iBluetooth

krakenrelease

macrumors regular
Dec 3, 2020
187
199
Im a iOS/macOS dev myself.
For anyone that actually used Copilot, is it any good and worth the subscription?
I hate subscriptions, but if it will help me release things faster while keeping my code integrity, it might be a good thing for me. Idk yet.
It's absolutely worth it. I use it with VS Code and C# and Python at work. It's a big time saver for creating boilerplate code. It can even be a godsend when debugging. It will make suggestions on what you need to do to fix the error message. Say you want to make a database call. It will paste in the code, then you can just fill in the credentials to access it.
 

krakenrelease

macrumors regular
Dec 3, 2020
187
199
What about Perplexity or how does CoPilot compare to LLM-Studio for on-device LLM use & coding?

VERY interesting times ... especially with M4 Pro in 2024. NOW the Mac Mini looks VERY promising.

Strange to see GitHub (owned by Microsoft) able to still get their name on the Mac with their LLM/Ai (via Open-AI) with their brand name CoPilot.
CoPilot is specific to coding. GitHub has hundreds of millions of users. It's already been proven.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.