Difference between Value type and Reference type in Swift

A value type is a type where the data or value¬† is copied when assigned to a constant , variable or when it is passed to some other function. Many …

Advertisements