• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Build Errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build Errors


  • Subject: Re: Build Errors
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 9 Sep 2002 21:36:54 -0700

On Mon, 9 Sep 2002 19:13:39 -0400, "Brian E. Howard" <email@hidden> said:

>Everything was compiling fine until I added an @class directive; now I
>get errors, no doubt all related to some simple thing I don't grasp.
>While crunching on my MainControl.m file, subclass of NSObject, I get:
>
>MainControl.h:14: undefined type, found `IBOutlet'
>
>When I select the error it highlights an IBOutlet declaration in
>MainControl.h:
>
>@interface MainControl : NSObject
>{
> IBOutlet NSTextField *myField;
>}

In all the confusion you accidentally deleted your #import <Cocoa/Cocoa.h>. m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: [newbie] Font attributes in NSTextView
  • Next by Date: Re: Learning lex/yacc (was: Book- Building cocoa applications)
  • Previous by thread: Build Errors
  • Next by thread: NSDrawer: animation rate on open/close
  • Index(es):
    • Date
    • Thread