Why am I getting this error message?
FYI: This is inside the implementation.
I am trying to make a method for opening a window by selecting a menu item, but I am barely starting to learn Objective-C and I only know HTML...
Code:
- (void)openWindow:(id)IBAction{
[COLOR="Red"]error: syntax error before 'void'[/COLOR]
[self.window makeKeyAndOrderFront:self];
}
FYI: This is inside the implementation.
I am trying to make a method for opening a window by selecting a menu item, but I am barely starting to learn Objective-C and I only know HTML...