
It Depends with Brandon Williams
Empower Apps
The Pros and Cons of Swift Protocols
There is this slightly different way in which you can use a struct that has closure properties. And I can substitute in for a protocol for the most part. So if you use this struct interface, it allows you to do some fun things like you get the ability to kind of hot swap out one single endpoint in the dependency for new functionality. But yeah, it's if you're used to the protocols and go for the protocols.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.