Updating SkLabel

Discussion in 'iOS Programming' started by V-Appel, Jan 21, 2014.

  1. V-Appel macrumors newbie

    Joined:
    Oct 1, 2013
    #1
    Hi!
    I´m trying to put an SkLabel on the screen to display a score.
    The int is set up and it is increasing but the label isn´t updating...
    What can I put under my:
    Code:
    -(void)update:(CFTimeInterval)currentTime {
    }
    To make is update and display the correct score?
    Thanks
     
  2. waterskier2007 macrumors 68000

    waterskier2007

    Joined:
    Jun 19, 2007
    Location:
    White Lake, MI
    #2
    Could you post the code where you believe that you are updating the text on the SKLabel.

    It should be something like (assuming the label is called myLabel

    Code:
    [myLabel setText:"myText"];
    
     

Share This Page