Protocols in Swift

  • Procolos are used to define a blue print of methods, properties and other requirement that suits a particular task or piece of functionality.
  • It is an interface
  • Protocol can be have property of gettable/settable
  • Variable is decalre as var not with let