title: Cocos2d: Should I use only (id)init for initializing, or can I use (void)onEnter for late allocation?
body: <p>As learning Cocos2d, I've found <code>- (void)onEnter</code>, <code>- (void)onExit</code>, can be used like their counterparts, <code>- (void)viewDidLoad</code>, <code>- (void)viewDidUnload</code> of iOS UIKit.</p>
  
  <p>I do aware they are not technically good replacement for the original <code>- (id)init</code>, and I often see instructive texts for learning Cocos2d only use <code>- (id)init</code> method for all it's properties and variables.</p>
  
  <p>However, if I use <code>- (void)onEnter</code> for allocation and initialization, I can reference <code>self.parent</code> for a little more cleaner code.</p>
  
  <p><strong>Is it safe to assume I can keep using - (void)onEnter for allocating and initializing without worrying if it's right way to develop using Cocos2d framework?</strong></p>