Re: Build Errors
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.