- Create new 10.8 project.
In Appdelegate.m after this code
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { // Insert code here to initialize your application }
I add
- (void)mouseDown:(NSEvent *)event{
NSLog(@"Hi");
}
But i am not getting the event's triggered
My Question is what should i do in Appdelegate.m so that when a user clicks on the Window the mouseDown event gets triggered?