Pregunta de entrevista de Totality Corp

Basics of Swift Programming like: Delegate and Protocols, Difference between struct and class.

Respuesta de la entrevista

Anónimo

8 nov 2021

1. Delegate is an event handler it is use to communicate Data from object to another. Protocols is a blue print of methods or properties can be used in struct, class or enum. 2. Classes can inherit from another class unlike struct. Class is pass by reference and struct is pass by value.