Paul Hudson Profile picture
Jun 8, 2021 6 tweets 3 min read Read on X
A love letter to Xcode 13, in 5 GIFs. Part one: it will automatically import frameworks as needed. #WWDC21
Part two: it spots when you're trying to unwrap an optional and completes it for you. #WWDC21
Part three: it's able to complete properties inside properties, making things like "view.corn" complete into "view.layer.cornerRadius". #WWDC21
Part four: it autocompletes all the cases for enums when you use `switch`. #WWDC21
And part five: when you loop over an array, it automatically completes using a singular version of the array name. #WWDC21
Much love to the Xcode team! 💞 If I missed something please give me a kick in a DM – Xcode 13 is already a great release and it's only beta 1 🤯

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Paul Hudson

Paul Hudson Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @twostraws

Sep 22, 2023
💥 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.
Read 8 tweets
Jun 6, 2023
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.
Read 5 tweets
Sep 6, 2022
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.
Read 7 tweets
Jun 14, 2022
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 🤯
Read 5 tweets
Jun 5, 2022
For folks coming to today’s Developer Center open house at #WWDC22, coffee and donuts from Caffè Macs 😋 Apple employees serving up coffee and donuts to folks waitin
And we’re in! #WWDC22
“The jacket that never occurred” 🤯 This is what *would* have been for WWDC20 attendees. #WWDC22 A brightly colored jacket with the tag WWDC20.
Read 9 tweets
Dec 15, 2021
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.
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(