Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

martay

macrumors newbie
Original poster
Oct 1, 2008
24
0
I have a World class that has pointers to a Character and a Structure. The Character has a pointer to the Structure. If I have the world decode the Structure and the Character decode the structure, will I end up with one Structure object or two?

I.e., is the decode mechanism smart enough to notice that 2 references in my archive are to the same object?

If not, does anybody have a "best practices" approach to reinstating the relationship?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.