RE: newbie question about buttons..
RE: newbie question about buttons..
- Subject: RE: newbie question about buttons..
- From: Jeff Laing <email@hidden>
- Date: Tue, 30 Nov 2004 12:41:46 +1100
> this is exactly my problem - I don't seem to have a "myDrawerOutlet"
> variable to send a message to.
This is one of the gotchas of Interface Builder offering so much for free.
You'll need to
a) add a member variable to your class
b) drop the header file onto Interface Builder so it re-reads the header
c) connect up the control in the OUTLET pane as opposed to the ACTION pane
You might be surprised that you end up connecting the same two things
together multiple times. Thats just how it goes.
> As I said, I am a newbie - I am more familiar with the windows world,
> where when you drop controls/widgets onto forms then you get
> variables
> defined behind the scenes that let you access those widgets.
Interface Builder doesn't do it because in many many cases you don't
actually need the member variable.
Thats all two cents worth from someone who thinks he's "newbie, second
class" these days.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden