“I was looking at this diagram to see if it would help improve my understanding of pointers and so forth. I found that it’s inconsistent, which suggests to me that it contains errata. For example, “now” points to the first instance of “NSDate”. I think this is correct. But, “tomorrow” points to the contents of the second instance of “NSDate”, which I believe isn’t correct (it’s being pointed to by NSArray. Long story short: is this diagram incorrect, and would someone please tell me how it should have been drawn? Perhaps even more importantly, if it is correct, then why?”
now, tomorrow, and yesterday are all NSDate objects which we reference by pointers (locations in memory) *now, *tomorrow, *yesterday. As stand alone objects there is not really a first instance just objects located in memory via pointers. After placing these objects in an NSArray, then we kinda have 1st, 2nd, and 3rd objects but only in reference to iterating(stepping) though the array.
The diagram don’t number the three NSDate objects on the right side. The diagram intent is just to show us that the three instances of date objects point to three locations in memory. Plus the NSArray we created contains points to these three instances of date objects.
Hope this helps. Someone please correct me if my interpretation is wrong.