veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

293
active users

#combine

0 posts0 participants0 posts today

#Swift #SwiftUI #Combine

Yeah, Combine is soft-deprecated, on its way out, whatever

And ObservableObject is old

Am I a fool for still reaching for them when I need to do something like this? Have a raw and debounced versions of a property, both gettable, settable, and observable as needed, both in SwiftUI and anywhere else

And the code is pretty tight I think

How would you do this, say, in the new Observable world without Combine?

Have you ever tried using AsyncPublisher? I have. And some of its behavior has surprised me. I looked into it in-depth in my newest article, where I show how to use its behavior for your advantage, as well as how to get around its limitations. As you will see, some aspects can quite differ from observing publisher in Combine. #combine #swift #asyncpublisher #async

cleevio.com/blog/the-not-so-eq

www.cleevio.comThe Not So Equivalent Code: Demystifying Async Publisher | CleevioThe article explores the behavior of AsyncPublisher in depth, shows how to use its behavior for your advantage, as well as how to get around its limitations.

#introduction

I’m on Mastodon for two things.

I build things on Apple platforms. I make @tact. I read (a lot) and post (a little) about related technologies: #Swift, #SwiftUI, #Combine, #CloudKit, #CoreData, #Xcode, as well as product design.

I support Ukraine. I follow Ukrainians and friends of 🇺🇦. Please donate to 🇺🇦 until 🗑🇷🇺 is gone: ukraineaidops.org or any other charity. My Twitter is mostly about Ukraine - twitter.com/jaanus

Ukraine Aid OperationsUkraine Aid OperationsInternational group of civilian volunteers delivering life-saving gear (helmets, drones, generators and more) directly to front line defenders in Ukraine. Donate now to help Ukrainian soldiers.