Protocols with Associated Types in Swift

Photo by S O C I A L . C U T on Unsplash

Prerequisites:

  • Understand the use of protocols in Swift (guide HERE)

Terminology

--

--

--

stevecurtis.me

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Implement a Dictionary in Swift

Migrating to Vapor 4

Using Threads in Swift

Important iOS Programming Resources & Interview Guide

Beginners’ Advice for Swift / SwiftUI with CoreData (1)

Interactive View Corners in SwiftUI

Building pure SwiftUI Search bar with UIKit like Animations

How To Section Lists Alphabetically in SwiftUI

Searching through contact list

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
Steven Curtis

Steven Curtis

stevecurtis.me

More from Medium

An alternative method to replace NotificationCenter for broadcasting messages

Generating xcodeproj’s with Xcodegen

Swift | Protocols

Make All Your Swift UIKit Views a UITableView