i have a method that call another method with 1 parameter to another class. It is working perfectly but now i need 1 more parameters this is my code :
i am getting a 'addobject may not respond'
test.m
calling method :
DrunkeNewIdeaAppDelegate *appDelegate = (DrunkeNewIdeaAppDelegate *)[[UIApplication sharedApplication] delegate];
Testes *myLevelObject = (Testes *)appDelegate.testViewController1;
[myLevelObject addobject:rephereanswer,nbimportant];
method called :
testes.h
-(void)addobject:(double)rephereanswer:(double)nbimportant;
testes.m
-(void)addobject:(double)rephereanswer:(double)nbimportant{