Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Treva03

macrumors newbie
Original poster
Sep 17, 2008
5
0
I am new to the Mac environment (recent switcher) and I love mac. I have some self-taught knowledge of C++(not a lot) and I am trying to self teach C and obj c. My question is how do I create additional windows in Cocoa/Xcode?
Ultimately I have a program that consists of 4 buttons each with different purposes, of course. I would like each button to open a new window where the user will input data to be converted. One button is a metric converter. And when the user clicks this button I would like a window to open with input fields and selections to convert lets say inches to centimeters, or whatever. Is there a simple way to do this? Thanks in advance. I have searched forums, and all over the net to find something to do just this.

Thanks for any help in advance,
Treva:confused:
 

Treva03

macrumors newbie
Original poster
Sep 17, 2008
5
0
Thanks

Awesome, I will read more into how to use NSWindow. Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.