Saad El Oulladi·Jul 23Protocols in Swift: some vs any (Opaque vs Existential)When working with protocols in Swift, you’ll often face a subtle but important choice: should you return some Protocol or any Protocol?
Vladyslav Panevnyk·Mar 25Swift Protocol methods dispatch under the hood: Existentials, Witness Tables and Generic…Swift protocols look simple on the surface. Hovewer, under the hood they rely on several runtime and compile-time mechanisms such as…
Anirudh Pandey·Jan 21Swift Protocols, any, some, and the Evolution of Protocol Type ConstraintsIf you’ve been writing Swift for a while, you’ve probably hit this error more times than you’d like to remember:
InStackademicbyHimali Marasinghe·Sep 14, 2025Swift Protocol Oriented Design: Build a Pluggable Data SourceA hands-on guide to protocol-oriented programming, AnyDataSource, caching, logging, and clean injection for testable apps.
InStackademicbyHimali Marasinghe·Aug 12, 2025Swift Protocols and Generics: The Complete Real-World Guide for iOS DevelopersLearn how to combine Swift protocols and generics to build flexible, reusable, and testable iOS apps with real-world eCommerce examplesA response icon1