They went to *extraordinary* lengths to add fun little things throughout the building, including Easter eggs to unlock, classic pieces of equipment, and more. A fun tour! #WWDC22
So, er, I know it’s a little late for this, but for the next week you might want to mute me and/or #WWDC22 if you’re not an Apple developer 😅
• • •
Missing some Tweet in this thread? You can try to
force a refresh
💥 Today the 100 Days of SwiftUI starts its update process for iOS 17 – look for the first "UPDATED" marker arriving in a few hours!
In the meantime, I picked out five of my favorite YouTube videos from my channel. So, if you'd like to learn something new, try these…
1. Understanding the Standard Library: I walk you through some of the code for Swift's standard library, showing the techniques they use to get maximum performance and flexibility.
2. 8 Things I Wish I Knew When I Started Programming: I've been writing code for over 25 years, but if I could rewind time here are the tips I'd give my younger self to help make *everything* easier.
So, I tried Vision Pro, and no matter how good you think it is… it's better. Just astonishing immersion backed by mind-boggling audio fidelity, and the UI has been polished and polished until it's almost invisible. Zero friction; I was a confident user in minutes. #WWDC23
There were so many individual experiences that would make you say, "that alone is revolutionary." But when you see 50 of them back to back, culminating in an immersive experience that somehow blows the top of everything you already saw, it's just jaw-dropping.
And you know the odd thing is that we know a lot of the APIs: we know ARKit, we know RealityKit, we know SwiftUI, and more. But bringing all those together, mixing in new features, new interactions, and just incredible hardware… yeah, it's a real "only Apple can do this" moment.
If you bought Pro SwiftUI: check your downloads! I added a big Xcode project that contains all the code samples in one place, making for easier reference. (Alt text: A long list of chapters from Pro SwiftUI, with one selected that shows anchor preferences making tabs underlined.)
Quite a lot of the techniques aren't visual, but here are a handful that I think ought to pique your interest 🙂
Here's the sample recreating Twitter's "heart" animation – the colors and particle sizes are customizable, and it also works with complex styles such as gradients.
This is an example of a Layout implementation that places views in a circle – as you can see, adding new views with the stepper makes them transition in beautifully.
What's new in Xcode 14? Source editor changes so good they almost feel like magic, always-live SwiftUI previews, one app icon that works across all sizes, and much more – full video and text here: hackingwithswift.com/articles/251/w…
Here are just three of the source editor changes I pick out. First, Xcode 14 adds smart completions for map() – it looks at your new variable name to decide which property to read from the array.
Second, it has smart suggestions for SwiftUI's List and ForEach views. In this example, Xcode 14 detects the array property, converts it to a List, singularizes player, and picks out a string property from there for a Text view 🤯
Swift Playgrounds 4 is out, and it's a thing of beauty – incredible speed, brilliant code completion, and many tweaks and improvements that make building SwiftUI apps a joy. Full review here: hackingwithswift.com/articles/244/s…
TL;DR:
- You can now build SwiftUI apps right on your iPad.
- You can use UIKit if you prefer.
- You can ship your apps to the App Store straight from your iPad.
- It supports SPM packages from GitHub.
- It ships with Swift 5.5 and all its concurrency awesomeness.
Most of all, the *speed*. It's ridiculous, and I don't even have an M1 iPad Pro – every tiny change becomes interactive almost instantly, and it's like having an iPhone permanently docked on the right-hand side of your editor.