Sep 16, 2022
there is idiomatic swift — yours is not.
Looking at your other articles, you are exclusively using classes — I dont think, you have understood the differences between classes and structs, between reference types and value types respectively. but this understanding is vital for understanding most other aspects about swift. If I'd see your code in an application for a job, I'd pass on that person as they clearly not having understood swift on a fundamental level.