title: Cocos2d CCLabel update problem for scores
body: <p>I am using two calls setScore which is going in the init method and UpdateScore when an object is destroyed. When I run the program, I get a crash as soon as UpdateScore is called. Anyone see errors with my code? Thank you very much.</p>
  
  <p>In my .h file I have CCLabel *score; and NSString *text; declared for global use.</p>
  
  <pre><code>-(void)setScore{
  
   scorE = 1;
  
   text = [[NSString alloc] initWithFormat:@"%d", scorE];
  
   score = [CCLabel labelWithString:text fontName:@"Marker Felt" fontSize:18];
  
   score.position = ccp(45, 310);
  
   [self addChild: score];
  }
  
  -(void)UpdateScore{
  
   scorE++;
  
   NSLog(@"score +1");
  
   [score setString: [NSString stringWithFormat:@"%d",scorE]];
  
  }
  </code></pre>