Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Interface Builder

In Interface Builder, how do you change the 'New' menu heading to open into other selections, the way 'Open Recent' opens into other selections?




INTERFACE BUILDER SCREEN SHOT

User uploaded file

iMac

Posted on Jun 30, 2012 3:36 PM

Reply
9 replies

Jun 30, 2012 9:46 PM in response to xnav

Ok, I got it. The default is one .xib file, but then you can add additional .xib files through New>File.


I think the entire use of the Interface Builder and xCode in general would make much more sense if the first window for a new project did not contain any files, but only a suggestion to add a new application, a new data base, or a new main menu.



And adding a new application should add another .h and .m and .xib file, but only replace the library files.

Jun 30, 2012 10:00 PM in response to mark133

It's a bit confusing when adding files. You pick Cocoa, then you can pick Application if you had picked a view before, and if you pick Objective C Object, then you still have to select object. The menu selection process is really confusing. Yet it could be turned around to be an instructional tool.


For example, if a new project opened empty, and then the user is prompted to add 1) The library 2) A 'Model/Controller' "for the model" (with .h .m files) 3) Another Model/Controller "for the controller" 3) A Main Menu 4) A Window (a second .xib file).


That would provide a valuable instruction for the beginner.

Interface Builder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.