April 2017
Intermediate to advanced
316 pages
9h 33m
English
Two variables can point to the same object, so changing one variable changes the other too. Having lots of objects point to the same data can be useful in some circumstances, but mostly we will want to modify copies so that modifying one object doesn't have an effect on the others. The foundation framework provides us the means to copy reference types. To make it work, we need to do the following:
Here's an example of a Manager ...
Read now
Unlock full access