...but did you know it has a hidden feature? 🤨
Let me explain 😌
...but did you know it has a hidden feature? 🤨
Let me explain 😌
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 😌
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 😌
struct MyModifier: ViewModifier {
// ...
}
```
Have you ever created a custom ViewModifier? 🤨
Did you know that it's actually often not really needed? 🥲
Let me explain 😌
struct MyModifier: ViewModifier {
// ...
}
```
Have you ever created a custom ViewModifier? 🤨
Did you know that it's actually often not really needed? 🥲
Let me explain 😌
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...
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...
Good news: It's totally possible to opt-out of the new UI design!
Let me show you how 😌
Good news: It's totally possible to opt-out of the new UI design!
Let me show you how 😌
Subscribe to my newsletter and you'll receive the steps to opt-out of Liquid Glass in your inbox tomorrow morning 📮
👉 swiftwithvincent.com/newsletter
Subscribe to my newsletter and you'll receive the steps to opt-out of Liquid Glass in your inbox tomorrow morning 📮
👉 swiftwithvincent.com/newsletter
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 👌
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 👌
...but did you know there's one mistake that's very easy to make if you're not careful?
Let me explain 😌
...but did you know there's one mistake that's very easy to make if you're not careful?
Let me explain 😌
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
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
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
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
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
Then I have a FREE training course for you 🫵
www.youtube.com/watch?v=HiX...
Then I have a FREE training course for you 🫵
www.youtube.com/watch?v=HiX...
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...
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...
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
But did you know it has a hidden feature? 🤨
Let me show you 😌
But did you know it has a hidden feature? 🤨
Let me show you 😌
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
(make sure to install macOS Tahoe beta if you want to try the feature!)
But it still uses XCTest under-the-hood though: maybe we'll get support for UI tests in Swift Testing next year 🤞
But it still uses XCTest under-the-hood though: maybe we'll get support for UI tests in Swift Testing next year 🤞
Basically this is like SwiftUI Previews, but for non-UI code 👌
Basically this is like SwiftUI Previews, but for non-UI code 👌
But did you know that SwiftUI has a built-in way to solve this? 🤨
And that it only requires a single line of code? 😌
But did you know that SwiftUI has a built-in way to solve this? 🤨
And that it only requires 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 👌
It's called `.privacySensitive()` and it will automatically hide the view it's attached to as soon as the app goes into the background 👌