ios - Error: Use of undeclared identifier 'touchesBegan' -


i getting following error

use of undeclared identifier 'touchesbegan'

in following code under @implementation

    sktexture* eyetexture1 = [sktexture texturewithimagenamed:@"eye1"]; eyetexture1.filteringmode = sktexturefilteringnearest; sktexture* eyetexture2 = [sktexture texturewithimagenamed:@"eye2"]; eyetexture2.filteringmode = sktexturefilteringnearest;      skaction* flap = [skaction repeatactionforever: [skaction animatewithtextures:@[eyetexture1,     eyetexture2] timeperframe:0.2]];  _eye = [skspritenode spritenodewithtexture:eyetexture1]; [_eye setscale:2.0]; _eye.position = cgpointmake(self.frame.size.width / 4, cgrectgetmidy(self.frame)); [_eye runaction:flap];  }      -(void)touchesbegan:(nsset *)touches withevent:(uievent *)event { /* called when touch begins */ 

i've met problem before. did missing } method above touchesbegan? add in , ok.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -