Vincent Pradeilles
banner
v-pradeilles.bsky.social
Vincent Pradeilles
@v-pradeilles.bsky.social
I'm sure you've used the modifier `. task { }` before...

...but did you know it has a hidden feature? 🤨

Let me explain 😌
November 14, 2025 at 12:41 PM
```
let name: String?

"Hi, \(name ?? "stranger")"
```

This code is super common to deal with an Optional inside a String interpolation.

But did you know that Swift 6.2 introduces a more powerful syntax? 🤨

Let me explain 😌
October 31, 2025 at 12:33 PM
```
struct MyModifier: ViewModifier {
// ...
}
```

Have you ever created a custom ViewModifier? 🤨

Did you know that it's actually often not really needed? 🥲

Let me explain 😌
October 17, 2025 at 11:36 AM
“MVVM is a bad architecture for SwiftUI 🙅🏻‍♂️”

I regularly see blog articles make this claim, so it got me curious!

👉 Is MVVM really that bad with SwiftUI?
👉 What could be the alternative?
👉 How to decide if an architecture is “good”?

Let me give you my opinion 😌

www.youtube.com/watch?v=KY4...
September 23, 2025 at 3:04 PM
iOS 26 is about to release and your app isn't yet ready for Liquid Glass? 🫣

Good news: It's totally possible to opt-out of the new UI design!

Let me show you how 😌
September 19, 2025 at 11:36 AM
iOS 26 is about to be officially released! But what if your iOS app isn’t yet ready to support Liquid Glass?

Subscribe to my newsletter and you'll receive the steps to opt-out of Liquid Glass in your inbox tomorrow morning 📮

👉 swiftwithvincent.com/newsletter
September 14, 2025 at 6:12 PM
New in Swift 6.2: Raw Identifiers can be used for function names!

All you need to do is put the function name between backquotes...

...and you can use characters that are not allowed in function names, like white spaces or operators!

Perfect for functions that implement tests 👌
August 25, 2025 at 11:34 AM
When you need to run lots of concurrent jobs, using a TaskGroup is the easiest option...

...but did you know there's one mistake that's very easy to make if you're not careful?

Let me explain 😌
August 15, 2025 at 11:58 AM
Vibe coding has come to Xcode!

I gave it a try and I want to share with you what I enjoyed and what got me disappointed.

Subscribe to my newsletter and you'll receive all the details in your inbox tomorrow morning 📮

👉 swiftwithvincent.com/newsletter
July 6, 2025 at 6:12 PM
You're curious to try the new AI coding tools in Xcode 26, but you haven't been able to install the new macOS beta? 🤨

Don't worry, I've done it for you!

Subscribe to my newsletter and you'll receive all the details in your inbox tomorrow morning 📮

👉 swiftwithvincent.com/newsletter
June 29, 2025 at 6:12 PM
New in Xcode 26: there's a shortcut to ask the AI to make quick changes to a piece of code!

(make sure to install macOS Tahoe beta if you want to try the feature!)
June 23, 2025 at 11:33 AM
You have an upcoming iOS interview and you want to prepare for it? 🤨

Then I have a FREE training course for you 🫵

www.youtube.com/watch?v=HiX...
June 19, 2025 at 11:33 AM
You need a bit more time to migrate your app to Liquid Glass?

It's totally possible to opt-out of the new UI design!

Just add the key UIDesignRequiresCompatibility to your Info.plist, with the value YES 👌

But be careful: Apple said it will only be allowed until next year...
June 18, 2025 at 11:33 AM
New in Xcode 26: you can ask the AI to explain a piece of code!

(make sure to install macOS Tahoe beta if you want to try the feature!)
June 16, 2025 at 7:02 AM
`async let` is a very powerful syntax!

But did you know it has a hidden feature? 🤨

Let me show you 😌
June 13, 2025 at 11:33 AM
New in Xcode 26: the AI can automatically fix build errors!

(make sure to install macOS Tahoe beta if you want to try the feature!)
June 13, 2025 at 7:02 AM
New in Xcode 26: you can generate Playgrounds and the required mocked data will be automatically provided!

(make sure to install macOS Tahoe beta if you want to try the feature!)
June 12, 2025 at 11:33 AM
New in Xcode 26: the AI can automatically document a piece of code!

(make sure to install macOS Tahoe beta if you want to try the feature!)
June 12, 2025 at 7:02 AM
New in Xcode 26: there's an easier way to record UI tests!

But it still uses XCTest under-the-hood though: maybe we'll get support for UI tests in Swift Testing next year 🤞
June 9, 2025 at 10:07 PM
New in Xcode 26: code predictions can (finally) be enabled On Demand, instead of just Always On or Always Off 🙌
June 9, 2025 at 10:01 PM
New in Xcode 26: projects that use Macros should no longer suffer longer build times because of the swift-syntax package!
June 9, 2025 at 9:42 PM
New in Xcode 26: the macro #Playground lets you execute code locally!

Basically this is like SwiftUI Previews, but for non-UI code 👌
June 9, 2025 at 9:32 PM
WWDC is just a few hours away: what's your number one wish this year?
June 9, 2025 at 11:33 AM
It's SO frustrating when a TextField doesn't display it's full input 😡

But did you know that SwiftUI has a built-in way to solve this? 🤨

And that it only requires a single line of code? 😌
June 6, 2025 at 11:33 AM
Did you know that SwiftUI has a modifier that lets you hide sensitive information by adding a single line of code?

It's called `.privacySensitive()` and it will automatically hide the view it's attached to as soon as the app goes into the background 👌
June 5, 2025 at 11:33 AM