Women in Technology

Hear us Roar



Article:
  Creating a Color Meter Using Cocoa
Subject:   ? What kind of application and whats up with the classes tab
Date:   2003-08-03 09:44:02
From:   anonymous2
Hi there,
i don't know what kind of application to make in project builder... be more clear on that...


also when i use the classes tab it looks different and it does NOT contain the word "outlet" nor all the things such as bluelabel :(


What am i doing wrong?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • I just made it through this tutorial
    2003-08-04 11:45:47  the_doug [View]

    I'm using the Dec 2002 Dev Tools, which I imagine you are.

    It should be a "Cocoa application", one of the choices in the "Application" menu when you're starting a new project in PB.

    As far as the "classes" tab in the MainMenu.nib file, click on the magnifying glass drop-down menu and click on NSObject.

    Then, in the "Classes" menu at the top of your screen, select "Subclass NSObject". You can then name your new object as you want, select it, and then press shift-command-I (the show info command)

    If you set the drop-down menu in the show info command to Attributes, you'll be able to enter and inspect Outlets and Actions from there.

    Finally, once you've gotten that to work, click on the "Instances" tab again and you'll see two tiny icons at the top right of the window. The top one is icon view, and the bottom is a kind of list view that you can use to inspect outlets, actions, and connections.

    Hope this helps!

    Doug