I deleted main menu from my xib file. How can I recreate it without coping it from
another freshly created xib?
I can’t seem find how to tell IB that menu that I add from object library is actually main application menu.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t. You used to be able to simply connect the
mainMenuoutlet to your menu, but as of Xcode 4, there is nomainMenuoutlet and there is no replacement way to create a Main Menu in an existing nib.You must create a new MainMenu nib using the New File command and either copy the Main Menu object from that nib or just replace the old nib with the new.