Skip to main content
  1. Tags/

check point 8

2024


Day 13 - Swift Protocol and Extension

·3478 words·17 mins
How to Create and Use Swift Protocol? #Protocol is similar to contracts in Swift. It allows us to define what kind of functions we expect a data type to support, so we can follow those rules in the rest of our code.