Swift by Sundell cover image

107: “UIKit in 2021”, with special guest Ben Scheirman

Swift by Sundell

00:00

Using Swift Eu Ice Magic in a View Model Modeling System

In swift ua, all of the state changes, a trigger, a will change event. And then swift u eye has sort of like a a run loop happening to tell you what's going on. In yu i kit, you have a handful of ways you can do this. You could set up a a bine subscription to subscribe two changes to a model. If you're using io 13 as your minimum deployment target, you can definitely use things like combine and debounds. Or you can use central dispatch with work items and so on. I also like modelling the data around how data flows through the system  as much as possible.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app