class/nib to class/nib declaration error
class/nib to class/nib declaration error
- Subject: class/nib to class/nib declaration error
- From: Mamdouh <email@hidden>
- Date: Sun, 31 Mar 2002 16:04:40 +0200
I have a really strange problem...
I4m building an app where the main functions are a window and a panel.
These to where in the same nib until i read that it increases the launch
and the runtime speed to split objects in to different nibs (like
Apple/OmniGroup does in the different apps)... So thats what i4m trying
to do, but until now i have only encountered problems!
When splitting the two up i made a new nib for the panel and made it its
own class (and header). Because i need the panel to control some objects
in the window i #imported the window4s header so i could reference it
for use in some voids and so on it! And did the same in the windows
class with the header file for the panel for the same reason. But still
when i reference my window in my panels class (or vice versa) the
compiler says:
InfoPanel.m:
"`documentWindow' undeclared (first use in this function) (Each
undeclared identifier is reported only once for each function it appears
in.)"
= The compiler does4nt seem to know what i mean when declaring the
window by its (IBOutlet)name. But i can4t see why! As i said i have
remembered to #import the header that declares the window by its name,
but still i get this error! I4m confused and stuck!
What the hell am i doing wrong here?????????
Any help will be extremly appreciated!
Thanks
Mamdouh
Student/Programmer
_______________________________________________
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.