1. Enums are enumerations.
2. Enums are strongly typed constants. Hence, an explicit cast is needed to convert from enum type to an integral type and vice versa. 94 more words
4 months ago
Swift With Sadiq
In this article we will go through the differences between Class and Struct in Swift.
We will consider all the differences but will take a deep dive into the main difference. 762 more words
6 months ago