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.
Some things:
- I didn't get even a bit dizzy
- I have a strong prescription in my glasses, but the headset lenses were 💯
- Audio is surreal. No headphones; absolutely perfect positioning and range
- You go from making big hand-waving gestures to tiny swipes and pinches real fast
One more thing before I run to a meeting: at the keynote you saw a bunch of Vision Pro stuff, but what you saw is nothing compared to a live demo. Some breakthrough things weren't in the keynote because they just don't work in 2D, but through visionOS…… the hype is real, folks.
• • •
Missing some Tweet in this thread? You can try to
force a refresh
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.
What's new in SwiftUI for iOS 15? I just spent an hour and 20 minutes answering that question with lots of live code examples – and, inevitably, my dogs 😅 Watch the replay here:
And now I’m going to make a snack, pour a glass of wine, and get busy writing – the night is still young 😎
Writing done with one minute to spare before the day ends! What’s new in SwiftUI for iOS 15, including AsyncImage, pull to refresh, swipe actions, and more, *plus* 37 all-new Xcode 13 project downloads for sample code: hackingwithswift.com/articles/235/w…#WWDC21