Mac OS X Cocoa question
Here is a relatively simple question regarding the use of the Cocoa framework in OS X.
Assuming you have another window in a nib file, how do you call that up when selecting a menu item or pressing a button. Thanks, and if you can''t help do you know of any Cocoa forums?
Thanks in advance
-dmf
There used to be a site, http://www.idevgames.com/ that is devoted to mac game programming. Currently it is down, as the maintaner's personal server is in the crapper, but it should be back up soon. You can get in touch with many mac developers in IRC on irc.freenode.net #macdev, and the iDevGames group of guys sometimes hang out in an AIM chat room called iDevGames.
I wish I could answer your questions, but am trying to teach myself Cocoa as well.
Also, as most people here would point you in the direction of MSDN for windows programming help, I point you to http://developer.apple.com/
I also hang out in IRC on #gamedev so stop on by.
Cheers, and HTH.
[edited by - countermind on February 9, 2004 1:04:20 AM]
I wish I could answer your questions, but am trying to teach myself Cocoa as well.
Also, as most people here would point you in the direction of MSDN for windows programming help, I point you to http://developer.apple.com/
I also hang out in IRC on #gamedev so stop on by.
Cheers, and HTH.
[edited by - countermind on February 9, 2004 1:04:20 AM]
If you mean slecting another nib then Here is some sample code:
- (IBAction)showAboutMeWindowid)sender
{
[NSBundle loadNibNamed:@"AboutMe" owner:self];
}
this is from our main window to show the about me window
- (IBAction)showAboutMeWindowid)sender
{
[NSBundle loadNibNamed:@"AboutMe" owner:self];
}
this is from our main window to show the about me window
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement