How to use childNodeWithName in objective-c spritkit?

0 votes
93 views
asked May 17, 2015 in Objective C by john (4,220 points)
Hi All

     How to use childNodeWithName in objective-c spritkit?

1 Answer

0 votes
answered May 17, 2015 by kalpana (3,995 points)

Hi John

   Try this piece of code..

    speedLbl = (SKLabelNode*)[self childNodeWithName:@"speedTxt"];

...