How about a simple button

Just starting with xCode 6.4 on OS X Yosemite.


So I've started an OSX cocoa objective-C project, but I'm lost.

I can't find any form to edit visually, and I can find no form objects to drag onto the form.

My xCode app has no help documentation whatsoever.

The online suggestions for starting a simple UI all refer to things which do not exist (e.g., View, Interface Builder, etc.).

This is the least intuitive UI designer I've ever seen!


Could someone please tell me how to start a simple (one-screen) UI form and to place a simple button onto it?

(Ultimately I would like the button to launch an Applescript, but first things first).




Thanks

If your project doesn't already include an Interface Builder file for the UI, you can add one by going to File > New > File... and choosing the appropriate type of Interface Builder file from the selections in the "User Interface" section of the OS X categories.


As far as the Xcode documentation goes, what happens if you go to Help > Xcode Overview? Did you download Xcode from the Mac App Store, or from the developer site?

I opened a new User Interface successfully. Thank you!


Where might I find the list of controls (button, textfield, label, dropdown, etc.) from which I can choose to place an element onto the user interface form?


To answer your question, Help-->Xcode Overview yields an empty screen which indicates "No Contents". (I'm thinking I 'bought' this from the App Store)...

Regarding finding the Xcode documentation (which will probably help you more effectively than my attempts to explain):


If you go to Help > "Documentation and API Reference" it should open up the Help window.


One of the controls in the toolbar looks like a triangle in a square. If you click on that button (the tooltip, if you hover, is "Hide or Show the Navigator"), it should add/show another column to the window which lists iOS, OS X, and Xcode documentation hierarchies.


Clicking on the folders doesn't display anything, so you have to click the triangles next to them to disclose their contents, but you should eventually find the relevant documentation files, which can be selected to display them.


If you navigate to Xcode 6.4 > Xcode > IDEs > Guides > Xcode Overview, you can view the help file that should have been displayed when you chose Xcode Overview from the menu. It has a "Building a User Interface" section to get you started.


There are also several other Interface Builder help files in that same directory (Xcode 6.4 > Xcode > IDEs > Guides).

How about a simple button
 
 
Q