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
1 month, 4 weeks 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
4 months ago
Types in Swift fall into one of two categories:
1) “Value Types” -> where Each instance keeps a unique copy of its data. 261 more words
10 months, 3 weeks ago