Re: Attaching actions to buttons
Re: Attaching actions to buttons
- Subject: Re: Attaching actions to buttons
- From: Michael Swan <email@hidden>
- Date: Wed, 26 Jan 2005 15:03:14 -0500
Button are generally attached to actions in Interface Builder. Make
sure the class has an instance in IB and then just control drag from
the button to the instance and select the action you want to connect
to. I'm sure there is a way to do it in code but unless the action
needs to change mid program why do it the hard way.
Mike
"The Ego is the little self that pretends to be the only self and
speaks so loudly that the still, small voice of the Greater Self, whose
whisperings come from within the Soul, are rarely heard - unless we
learn to listen."
On Jan 26, 2005, at 2:21 PM, email@hidden wrote:
Date: Tue, 25 Jan 2005 21:52:22 -0800
From: dor kelman <email@hidden>
Subject: Attaching actions to buttons
To: <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="US-ASCII"
I went through the online tutorials on how to use xcode and interface
builder and the example they had was the temperature converter. It was
useful but the main thing I wanted to learn was how to attach the
buttons to
actions. The code was already supplied and all I had to do was copy and
paste. I cant figure out from the code exactly how to use the number
tags.
Is there anyone out there with a simple explanation on the rules and
techniques to doing this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden