CodeX
Published in

CodeX

CODEX

Swift Protocols: How to Create Contracts in Your Code

Learn how to create code blueprints to write modular and decoupled Swift code

Protocols in Swift
Photo by Fotis Fotopoulos on Unsplash

Swift Protocols

Swift protocols are a fundamental concept. A protocol is like a code contract. If a type conforms to a protocol, it must implement and include the variables…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Artturi Jalli

Artturi Jalli

I built a blog from 0 to 350k+ monthly visits in 16 months without SEO.