Ok So im making an app in xcode. I need to make it to whenever when I click a button it opens a window. Also the same with a menu item. I know how to do it, but if a press the button or menu item more than once, the application crashes.
Have a look at the pics
Thanx
Have a look at the pics






Thanx