Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MythicFrost

macrumors 68040
Original poster
Mar 11, 2009
3,944
40
Australia
Hi, EDIT: Title is weird, sorry lol...

I've developed on the iPhone a bit and now I am trying to learn to develop on OSX.
The problem is, when I create my first project I have no idea where my code is supposed to go?

I've selected Cocoa application as the project type, the only place I can see to write code is TestAppDelegate.m.

Can anyone fill me in or point me to some (hopefully easy to understand) documentation about this?

I'm trying to build myself a Mac version of some Windows software I've written.
 
The template project automatically creates the default nib (main window and menu bar) along with your application's delegate class which gets instantiated in the nib. It's fairly similar to the iPhone templates and all the same concepts except you no longer have UIKit classes but instead AppKit (NSWindow, NSMenu, NSButton, etc.).

You will most likely start off putting code in your application delegate class, and then expand from there with new files.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.