Flashcards
Swift Protocols
Flashcards do conjunto (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—
Informações
- Descrição
- Protocols in the Swift language
- Criado por
- andrew tittle
- Visualizações
- 33
- Tags
- Avaliação