Erstellt von andrew tittle
vor fast 6 Jahre
|
||
Frage | Antworten |
What 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 |
What can a PROTOCOL do? | A PROTOCOL can be adopted by a class, structure, or enumeration to provide an actual implementation of those requirements |
Can we extend a PROTOCOL? | Yes. We can extend a PROTOCOL to implement requirements or implement additional functionality that conforming types can take advantage of. |
Möchten Sie mit GoConqr kostenlos Ihre eigenen Karteikarten erstellen? Mehr erfahren.