An easy way to share code across views and test your UI
Let's dive into some bugs you might encounter while developing with SwiftUI and how to resolve them.
Let's see how organizing our views into stateful and stateless views can greatly simplify our codebase.
Let's have a look to how handling optional content in SwiftUI without relying on heavy `if let` everywhere in our codebase.
If you started to play along with SwiftUI, chances are you used List quite a bit in your code. And you probably had some unexpected challenges with it. So today let's see how to fix them in iOS13 and... iOS14!
Let's see a small tip helping us having a Binding which can change over time when interacting with a SwiftUI preview.
I see many developers adding too many code inside their ViewModel ending with a Massive ViewModel 🦛 while one of the first reason to use it was to actually avoid... Massive ViewController 🤷. Why is it happening? I think it is coming from one simple reason: they forget to think about Separation of Concern.