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

macosus

macrumors newbie
Original poster
Aug 14, 2011
4
0
I've just started making a program in xcode, and in interface builder, when i am making a window, i get stuck by how to connect the window. What i mean by that is that when a user selects a menu item or clicks a button, a window appears. I've been searching around the web but i am having no luck.
 
In IB, hold the control button and:
click on the menu item
drag your mouse to the desired window
select makeKeyAndOrderFront

Save the nib and you should be set!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.