A method is also a message sent to a class.
A method, which you will here about, is basically a function in a class. The Target is the group of all files that make the product.Ĭlasses are similar to the source files of any application, however they can be used interactively with each other. On the left column is a list of all relevant files: classes, which contain the classes of your project, other sources, such as the main.m and prefix headers, resources, which include the interface document (MainMenu.nib in this case), required frameworks, and products (the outcome of compiling your project, in this case My Cocoa Application.app). Now you are presented with the main Xcode window. If you didn't change the directory of the project at that screen, it's default location is ~/ (expanded: /Users//). In the next screen, name the project "My Cocoa Application" and press Finish. Go to File->New Project (Shift - Command - N), and select Cocoa Application. After installation, browse to your /Developer/Applications folder and find Xcode, and open it.Īfter you open it, you should be presented with a simple setup assistant (use default settings) as well as a "welcome screen" which can be safely closed out (or you can browse around it if you feel the need to). Hope you like it.įirst and foremost, make sure you have the developer tools, which you can get with a free account from ADC. And yes, I also realise this is a hopelessly simple application. I realise there is another tutorial already, but that is more of an Interface Builder tutorial, with barely any use of Xcode aside from creating and building the project.
#INTERFACE BUILDER TUTORIAL XCODE 8 PDF#
It has no images, but the PDF has both images and colors. However, there is a PDF file at the bottom as well as a shortened-down version here. It's pretty big, so I can't show it in it's nice form here. I went ahead and made a full Xcode/Interface builder tutorial for you folks at insanlymac.