title: Can objects inside iOS coco2d environment be retained?
body: <p>I have several custom obects inside the coco2d environment that needed to be retained. 
  so I set </p>
  
  <pre><code>      @property(nonatomic, assign) int score;
        @property(nonatomic, assign) Object *obj1;
  </code></pre>
  
  <p>inside my CCLayer scene, I synthesize score and obj1, during the init function I set the value for score, and obj1, however later on , I find score and obj1 have no value or not assigned score=0; and obj1  = 0x0;  what's going on? can things be retained under coco2d environment? </p>