In my apps, I have a toolBar with a button inside. When you pressed that button a actionSheet appear and you can change the langage of the apps. I want a put this toolBar in a lot of view, but I want to use the same object, not copy-paste in all my view. So I create a UIViewController with a nib file, this nib file containt my toolBar. Now, in a uiview, I do this
toolBar *objToolBall = [[toolBar alloc] initWithNibName:@"toolBar" bundle:nil];
objToolBall.view.frame = CGRectMake(0, 418, 320, 44);
[self.view addSubview:objToolBall.view];
[objToolBall release];
my problem is that when I pressed the button in the toolBar, the program try to find the method "clickButtonLanguage" in the file I create the object, and not in "toolBar.m".
How I can go in the "toolBar.m" method?