What to do? How do I execute another file in my program?

Discussion in 'Mac Programming' started by MythicFrost, Jun 17, 2010.

  1. MythicFrost macrumors 68040

    MythicFrost

    Joined:
    Mar 11, 2009
    Location:
    Australia
    #1
    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.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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.
     
  3. MythicFrost thread starter macrumors 68040

    MythicFrost

    Joined:
    Mar 11, 2009
    Location:
    Australia

Share This Page