The Big Nerd Ranch Swift - End of chapter 18

less than 1 minute read

Summary

  • Value vs. Reference Types
    • sematics of value and reference, constant value and reference types, Using value and reference types together(value in class, class in value) with immutable, shallow and deep copy, Identiy vs. Equality, What should I Use?(choosing between struct and class)

I think the contents in this chapter is not enough to know all about Value and Reference. So It would be good to read the apple documentation including links in it and the advanced swift of objc.io including links in it.

source code

Leave a comment