Changes

Copying Objects in Objective-C

60 bytes added, 19:09, 24 November 2009
no edit summary
<hr>
<google>BUY_OBJC</google>
In [[Pointers and Indirection in Objective-C]] we discussed the fact that when working with objects in Objective-C we are essentially using variables that contain pointers to the memory addresses where the objects are stored. We also mentioned the problems this presents when we want to copy an object. In this chapter of [[Objective-C 2.0 Essentials]] we will look at the steps necessary to copy an object.
First element of myArray2 = Red
</pre>
 
<google>BUY_OBJC_BOTTOM</google>
<hr>