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 icon1A response icon1
Hakankorhasann·Jul 8, 2025🧭 What Is a Protocol in Swift? Why and How to Use It (With Examples)When working with Swift, one of the most powerful concepts you’ll come across is the protocol. Whether you're building a small iOS app or…
IniOS LabbyJayant Kumar·May 7, 2025Protocol in Swift — Write Better Code Without InheritanceDiscover how protocols help you build clean and reusable components in your iOS apps.
Manish Yadav·Mar 18, 2025Mastering Swift Magic: Generics, Protocols, and ExtensionsSwift is known for its elegant syntax, powerful type system, and modern approach to programming. While most developers are familiar with…
lookdeceline·Mar 10, 2025Swift Essentials: Protocol Property Access Requirements (gettable, settable){ get } vs { get set } for Protocol properties