{"id":45613,"date":"2024-10-31T13:58:58","date_gmt":"2024-10-31T17:58:58","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=45613"},"modified":"2024-11-01T10:01:55","modified_gmt":"2024-11-01T14:01:55","slug":"github-copilot-for-xcode","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2024\/10\/31\/github-copilot-for-xcode\/","title":{"rendered":"GitHub Copilot for Xcode"},"content":{"rendered":"<p><a href=\"https:\/\/techcrunch.com\/2024\/10\/29\/githubs-copilot-comes-to-apples-xcode\/\">Frederic Lardinois<\/a> (<a href=\"https:\/\/www.macrumors.com\/2024\/10\/29\/github-brings-copilot-to-xcode\/\">MacRumors<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=41992073\">Hacker<\/a> <a href=\"https:\/\/news.ycombinator.com\/item?id=41993313\">News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/techcrunch.com\/2024\/10\/29\/githubs-copilot-comes-to-apples-xcode\/\"><p>Microsoft-owned GitHub is bringing Copilot to Apple&rsquo;s Xcode environment for the first time. Now in public preview, this will allow developers who build apps in Apple&rsquo;s IDE with the assistance of Copilot. For now, the focus here is on code completion, but Copilot Chat and its other features will likely make their way into Xcode over time.<\/p><p>Copilot already supports Apple&rsquo;s preferred languages Swift and Objective-C, so there&rsquo;s no surprise there. Copilot, like on other platforms, will offer multi-line suggestions when it can and users will be able to block suggestions that match public code.<\/p><p>[&#8230;]<\/p><p>All paying Copilot users on individual, business, and enterprise plans will have access to this public beta now. All they have to do to <a href=\"https:\/\/docs.github.com\/en\/copilot\/managing-copilot\/configure-personal-settings\/installing-the-github-copilot-extension-in-your-environment\">get started<\/a> is install the Copilot extension for Xcode.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/github.com\/github\/CopilotForXcode\">GitHub Copilot for Xcode<\/a>:<\/p>\n<blockquote cite=\"https:\/\/github.com\/github\/CopilotForXcode\">\n<p>GitHub Copilot is an AI pair programmer tool that helps you write code faster and smarter. Copilot for Xcode is an Xcode extension that provides inline coding suggestions as you type.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/x.com\/MattPfeiffer\/status\/1851355466162749454\">Matt Pfeiffer<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/MattPfeiffer\/status\/1851355466162749454\">\n<p>No way! I thought source editor extensions were too limited for an ai tool to be all that useful\/efficient inside of the Xcode box.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/x.com\/Javi\/status\/1851433554787647616\">Javi<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/Javi\/status\/1851433554787647616\">\n<p>It also uses accessibility APIs<\/p>\n<\/blockquote>\n\n<p>Which is <a href=\"https:\/\/x.com\/pfandrade_\/status\/1851354696365092882\">why<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/pfandrade_\/status\/1851354696365092882\">\n<p>The installation instructions on this page make me sad for the state of macOS.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/x.com\/morajabi\/status\/1851915714266853711\">Mo Rajabi<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/morajabi\/status\/1851915714266853711\"><p>Github Copilot for Xcode overlays a window on top of the editor for completions as Xcode extensions can&rsquo;t do it.<\/p><\/blockquote>\n\n<p>It&rsquo;s like how SpamSieve officially has a Mail extension, but the most important stuff is all done via other APIs because extension support is so limited and buggy.<\/p>\n\n<p><a href=\"https:\/\/dimillian.medium.com\/github-copilot-for-xcode-62931a645173\">Thomas Ricouard<\/a>:<\/p>\n<blockquote cite=\"https:\/\/dimillian.medium.com\/github-copilot-for-xcode-62931a645173\"><p>I&rsquo;ve tried it a bit on some sample code, and it&rsquo;s better than Xcode&rsquo;s new (local) predictive model. It&rsquo;s faster, more accurate, and can generate more lines of code.<\/p><p>[&#8230;]<\/p><p>It seems to fall slightly short of the Copilot extension within VSCode and Cursor tab. I guess that it doesn&rsquo;t index and embed your entire project, only the current file.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@jsq\/113393822986855500\">Jesse Squires<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@jsq\/113393822986855500\">\n<p>Was the original author involved with the GH copy?<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@krzyzanowskim\/113393836540393554\">Marcin Krzyzanowski<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@krzyzanowskim\/113393836540393554\">\n<p>They made a deal with the original author (and paid for that).<\/p>\n<\/blockquote>\n\n<p>See also: <a href=\"https:\/\/alexsidebar.app\/\">Alex Sidebar<\/a>.<\/p>\n\n<p><a href=\"https:\/\/arstechnica.com\/ai\/2024\/10\/github-copilot-moves-beyond-openai-models-to-support-claude-3-5-gemini\/\">Samuel Axon<\/a>:<\/p>\n<blockquote cite=\"https:\/\/arstechnica.com\/ai\/2024\/10\/github-copilot-moves-beyond-openai-models-to-support-claude-3-5-gemini\/\"><p>The large language model-based coding assistant GitHub Copilot will switch from&nbsp;exclusively using OpenAI&rsquo;s GPT models&nbsp;to a multi-model approach over the coming weeks, GitHub CEO Thomas Dohmke announced in a <a href=\"https:\/\/github.blog\/news-insights\/product-news\/bringing-developer-choice-to-copilot\/\">post on GitHub&rsquo;s blog<\/a>.<\/p><p>First, Anthropic&rsquo;s Claude 3.5 Sonnet will roll out to Copilot Chat&rsquo;s web and VS Code interfaces over the next few weeks. Google&rsquo;s Gemini 1.5 Pro will come a bit later.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/www.businessinsider.com\/google-earnings-q3-2024-new-code-created-by-ai-2024-10\">Hugh Langley<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=41991291\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.businessinsider.com\/google-earnings-q3-2024-new-code-created-by-ai-2024-10\"><p>More than a quarter of new code created at Google is generated by AI, said CEO Sundar Pichai on Tuesday during the company&rsquo;s Q3 earnings call.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2024\/10\/31\/xcode-16-1\/\">Xcode 16.1<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/05\/12\/llm-coding-tools-in-xcode\/\">LLM Coding Tools in Xcode<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Frederic Lardinois (MacRumors, Hacker News): Microsoft-owned GitHub is bringing Copilot to Apple&rsquo;s Xcode environment for the first time. Now in public preview, this will allow developers who build apps in Apple&rsquo;s IDE with the assistance of Copilot. For now, the focus here is on code completion, but Copilot Chat and its other features will likely [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2024-10-31T17:59:00Z","apple_news_api_id":"473f83c5-176c-4e72-a637-c2eab74f7a1c","apple_news_api_modified_at":"2024-10-31T18:01:45Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAg==","apple_news_api_share_url":"https:\/\/apple.news\/ARz-DxRdsTnKmN8Lqt096HA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2681,1351,2682,75,905,2091,2347,30,2598,2361,71,372,226],"class_list":["post-45613","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-alex-sidebar","tag-artificial-intelligence","tag-claude","tag-developertool","tag-extensions","tag-github-copilot","tag-bard","tag-mac","tag-macos-15-sequoia","tag-openai","tag-programming","tag-spamsieve","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/45613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=45613"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/45613\/revisions"}],"predecessor-version":[{"id":45618,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/45613\/revisions\/45618"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=45613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=45613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=45613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}