Re: Just starting out..... Please help
Re: Just starting out..... Please help
- Subject: Re: Just starting out..... Please help
- From: Graham Wihlidal <email@hidden>
- Date: Mon, 9 Jul 2001 00:56:40 -0600
These aren't function calls. They are messages and you have to send
them to
some actual object that can receive them. Something like:
[myLoginWindow LoginWindow_Display: self];
This means you have to instantiate a LogWindow instance to be a
receiver of
the message first with:
LoginWindow *myLoginWindow = [[LoginWindow alloc] init];
So there will be something to receive the message.
Or
Put a visible log in widow and an invisible main window in the nib.
Either
way, there has to be an instance of the login window before you can
send it
messages.
That makes sense.
I'm really not trying to be flip. It's just obvious that you don't
"get" OOP
yet. Messages are not function calls.
I get OOP programming fine, I am just brand new to Obj-C
I know C++ and various others. Just defending myself. :)
~Graham