Empower Apps cover image

It Depends with Brandon Williams

Empower Apps

00:00

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.

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