Question d’entretien chez Fidelity Investments

What is a property wrapper?

Réponse à la question d'entretien

Utilisateur anonyme

25 oct. 2024

Swift Property Wrappers is a feature that allows to define a custom type to implement behaviour from `getter` and `setter` method and reuse it. It is used to decorate properties in your class, struct or enum. It helps to reduce boilerplate code and improves readability.