mercredi 1 mai 2019

Is it a good practice to make an inner (nested) class in swift? [duplicate]

This question already has an answer here:

I'm not too experienced in swift, I am obj-c, but from time to time I need too mess with swift as well. I know in java for example it is useful for listeners, still may not be a best practice. So what about swift? My common sense tells me it is anti-pattern, in general. It could be useful for "quick development".

Aucun commentaire:

Enregistrer un commentaire