Tags » Value Type

Class Vs Struct in Swift

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


Value and Reference Types

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

Value type methods - call, callvirt, constrained and hidden boxing

Long time ago I wrote a post here on  call vs callvirt and the needed of the this null check. Here I want to wrote about this topic but on value types. 458 more words