Flashcards
Swift Protocols
Cards in this deck (4)
- 1What is PROTOCOL in Swift?A PROTOCOL defines a blueprint of methods and properties, and other requirements that suit a particular task or piece of functionality
- 2What can a PROTOCOL do?A PROTOCOL can be adopted by a class, structure, or enumeration to provide an actual implementation of those requirements
- 3Can we extend a PROTOCOL?Yes. We can extend a PROTOCOL to implement requirements or implement additional functionality that conforming types can take advantage of.
- 4—