How would I open a XIB on a button click? I have tried creating a window via IB, and using makeKeyAndOrderFront doesn't display my window. So, how would I open a window from a XIB? Thanks. (I'm Using Xcode 4.0.2) I tried to use isVisible with myWindow, but XCode says the isVisible method not found (id).