Results 1 to 2 of 2

Thread: Cocoa question

  1. #1
    Cocoa question
    Osiris22x's Avatar
    Member Since
    Feb 25, 2004
    Location
    Portland, OR
    Posts
    475
    Specs:
    15" MacBook Pro, 13" MacBook Black, 15" iMac G4, 24" iMac (soon!)
    Cocoa question
    I've been going through the tutorials over at CocoaDev and have come across a little hurdle. Upon reaching step 12 on this page: http://cocoadevcentral.com/d/learn_cocoa_two/

    ...I have been unable to accomplish what it says should happen. As it shows, 1 Outlet and 1 Action should be showing in the Attributes panel of the inspector, on the AppController. Alas, after following the coding closely, this is not the case. I have 0 Outlets and 0 Actions.

    I'm using Xcode 2.2.1.

    Any ideas?
    Roger Michaels
    Apple Certified Consultant

  2. #2
    Cocoa question
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I looks like at step 10.2 you should have this in your AppController.h file;

    @interface AppController : NSObject {
    IBOutlet id textView;
    }
    - (IBAction) clearText: sender;
    @end


    At step 12 it says you need to drag & drop the AppController.h file in the MainMenu.nib file. You'll see a big blue wavy arrow. The reason for that is so that Interface builder knows about the outlets and actions.

    I can't be of much help beyound that. It does look right though.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cocoa Programming book by Aaron Hillegas question
    By Shogun in forum OS X - Development and Darwin
    Replies: 9
    Last Post: 04-16-2009, 02:31 PM
  2. Taking up Cocoa
    By scathe in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 01-18-2009, 06:35 AM
  3. cocoa and pop3
    By jmndos in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 10-03-2008, 04:07 AM
  4. [cocoa keyboardInput]
    By Three in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-03-2007, 10:28 AM
  5. Cocoa/Xcode
    By dim in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 10-20-2004, 11:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •