avatarTom Smykowski

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2176

Abstract

UCg1aTRv.jpg"><figcaption><a href="https://developer.apple.com/xcode/">source</a></figcaption></figure><p id="1fde">Digging <a href="https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes">deeper</a>, we can also learn about some other nice changes, here’s my pick of the most interesting ones quoted from the release notes:</p><ul><li>The <code>xed</code> tool has been rewritten for performance and reliability. Invoke it from the command line to edit an existing or new file in Xcode, optionally opening to a given line number, and waiting for the file to close.</li><li>The new “Quick Actions” panel provides keyboard access to perform commands across Xcode.</li><li>Fixed: TypeScript (.ts) files are directly editable in Xcode</li></ul><figure id="47c0"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*dRCskh5fxXCwm6E0.jpg"><figcaption><a href="https://developer.apple.com/xcode/">source</a></figcaption></figure><p id="5b98">Unfortunately that version comes also with some known issues, and workarounds. So when you stumble upon one, use the link above to see how Apple suggests fixing these issues.</p><h1 id="2635">Powerful C++ 20 And C++ 23 Features</h1><p id="e636">We’ll also enjoy some nice CLang improvements for C++ coding. The team offers a new reference page and some features from C++ 20 and C++ 23</p><ul><li>There is a new reference page for C++ support on Apple platforms: <a href="https://developer.apple.com/xcode/cpp/">https://developer.apple.com/xcode/cpp/</a>.</li><li>Immediate functions [<a href="https://en.cppreference.com/w/cpp/language/consteval">consteval</a>]</li><li>De-deprecating volatile <a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2327r0.pdf">compound </a>operations</li><li><a href="https://en.cppreference.com/w/cpp/preprocessor/error">Support </a>for <code>#warning</code>.</li><li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2290r3.pdf">Delimited </a>escape sequences.</li><li>Named universal character escapes.</li><li>Support for UTF-8 as a portable source file encoding.</li><li>Relax requirements on <code>wchar_t</code> to match existin

Options

g practices.</li></ul><p id="6710">I’ve linked these issues to the documentation because Apple release notes doesn’t link to details for most of these.</p><figure id="d55c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*WAnPcSc0GOj2Sq1_.jpg"><figcaption><a href="https://developer.apple.com/xcode/">source</a></figcaption></figure><h1 id="37f5">Improved Asset Catalogs</h1><p id="c7a2">The asset catalog now handlers colors and images better:</p><blockquote id="e689"><p>Swift asset symbols are generated in the module associated with a given asset catalog. They’re generated as static properties on the new <code>ColorResource</code> and <code>ImageResource</code> types. To instantiate colors and images with asset symbols, use the SwiftUI, UIKit, and AppKit initializers that take the resource types.</p></blockquote><p id="ccc6">And more. The whole list of changes is about 50 pages on my screen, so it’s impossible to describe everything. There are no details for most of the features, and unfortunately no documentation of changes, because XCode isn’t open source.</p><p id="502f">I find it sad, because you know how I love to browse the source code and find interesting things.</p><p id="f0c6">All in all, XCode 15 is an interesting release focused on the developer experience. Can’t wait to update to it and see how it works!</p><blockquote id="1434"><p>Only 1% of people read such long articles to the end. Congrats! It must be a pleasure to talk with you about coding. You are my favorite people, I hope you will connect by subscribing!</p></blockquote><p id="8a7a"><i>BTW. WOW. You are really interested in coding! I’ve designed <a href="https://summonthejson.com/">coding card game</a> called Summon The JSON. What a coincidence! You can order it now!</i></p><p id="b9b6"><b>Do you like coding? Clap, subscribe, like and share in your social media!</b></p><p id="7e8f"><i>Join 7000 developers who follow Tom Smykowski! For $5 per month you will have access to all Medium articles and Tom will get a part of it, so he will write more about <a href="https://medium.com/membership/@tomaszs2">coding</a>! Become a member now!</i></p></article></body>

XCode 15 Released: It’s An IDE You Won’t Sweat About

“Developers, developers, developers” gets a new meaning with the XCode 15 release. A coding IDE from Apple you won’t sweat about that starts to stepping on Microsoft’s VSCode toes.

Yesterday, Apple finally released the latest version of its IDE. It was announced on June 5, 2023, at the Apple Worldwide Developers Conference with the following beta version released on the same day.

Better Developer Experience

source

The minimal version of macOS to run XCode 15 is 13.5 released in July 2023. It means you’ll have to have your system up to date to enjoy the new coding experience.

source

According to the official Apple page of XCode 15, it comes with:

  • enhanced code completion,
  • interactive previews,
  • live animations,
  • git integration,
  • improved test reports with video recording
  • better integration with TestFlight and AppStore through Xcode Cloud service,
  • 50% smaller distribution files
  • faster building (new linker better handling multicore architecture)
  • improved bookmark navigator
  • improved localization handling with realtime preview
  • Easier to use XCode Previews working with SwiftUI, UIKit and AppKit
source

Digging deeper, we can also learn about some other nice changes, here’s my pick of the most interesting ones quoted from the release notes:

  • The xed tool has been rewritten for performance and reliability. Invoke it from the command line to edit an existing or new file in Xcode, optionally opening to a given line number, and waiting for the file to close.
  • The new “Quick Actions” panel provides keyboard access to perform commands across Xcode.
  • Fixed: TypeScript (.ts) files are directly editable in Xcode
source

Unfortunately that version comes also with some known issues, and workarounds. So when you stumble upon one, use the link above to see how Apple suggests fixing these issues.

Powerful C++ 20 And C++ 23 Features

We’ll also enjoy some nice CLang improvements for C++ coding. The team offers a new reference page and some features from C++ 20 and C++ 23

  • There is a new reference page for C++ support on Apple platforms: https://developer.apple.com/xcode/cpp/.
  • Immediate functions [consteval]
  • De-deprecating volatile compound operations
  • Support for #warning.
  • Delimited escape sequences.
  • Named universal character escapes.
  • Support for UTF-8 as a portable source file encoding.
  • Relax requirements on wchar_t to match existing practices.

I’ve linked these issues to the documentation because Apple release notes doesn’t link to details for most of these.

source

Improved Asset Catalogs

The asset catalog now handlers colors and images better:

Swift asset symbols are generated in the module associated with a given asset catalog. They’re generated as static properties on the new ColorResource and ImageResource types. To instantiate colors and images with asset symbols, use the SwiftUI, UIKit, and AppKit initializers that take the resource types.

And more. The whole list of changes is about 50 pages on my screen, so it’s impossible to describe everything. There are no details for most of the features, and unfortunately no documentation of changes, because XCode isn’t open source.

I find it sad, because you know how I love to browse the source code and find interesting things.

All in all, XCode 15 is an interesting release focused on the developer experience. Can’t wait to update to it and see how it works!

Only 1% of people read such long articles to the end. Congrats! It must be a pleasure to talk with you about coding. You are my favorite people, I hope you will connect by subscribing!

BTW. WOW. You are really interested in coding! I’ve designed coding card game called Summon The JSON. What a coincidence! You can order it now!

Do you like coding? Clap, subscribe, like and share in your social media!

Join 7000 developers who follow Tom Smykowski! For $5 per month you will have access to all Medium articles and Tom will get a part of it, so he will write more about coding! Become a member now!

Programming
Coding
Software Engineering
Xcode
Apple
Recommended from ReadMedium