Member-only story

WWDC 2023: What’s New in Xcode 15

Lots of new features

Photo by Igor Savelev on Unsplash

It’s Xcode rather than xCode or XCode.

Anyway this article is intended as a companion to Apple’s video and does not replace it in any way. However, I find having a text file like this much more helpful than just a video but I’m sure you’ll let me know in the comments how useful this is.

Downloading Xcode

They’re pushing the Mac App Store. All simulators are optional, so it is nice and small. can choose from the downloads website which simulators are required for your work

Code completion

This isn’t quite AI completion, but at least it’s better than it was. Completion takes information from the name of files, and completions have some context awareness. I think this is a good set of improvements that can make our work faster.

Silly comment: Note that Shilpa imports foundation even though it is included when SwiftUI is imported. It just goes to show that even Apple developers are not perfect!

Asset catalogs

These now support code completion. This means we no longer have to use string names in our code (which is fantastic). We can use code completion and type safety so this inevitably leads to better code.

struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.accent)
Text("Hello, world!")
.foregroundStyle(.textForeground)
}
.padding()
}
}

Here I’m using textForeground which is available from the assetCatalog

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

No responses yet

Write a response