Protocols

A protocol defines a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality.

protocol SomeProtocol {
    // protocol definition goes here
}