4min chapter

Swift by Sundell cover image

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

Swift by Sundell

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode