• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Attaching actions to buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attaching actions to buttons


  • Subject: Re: Attaching actions to buttons
  • From: Mike Lazear <email@hidden>
  • Date: Wed, 26 Jan 2005 10:25:38 -0800


On Jan 25, 2005, at 9:52 PM, dor kelman wrote:

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?

I'm not familiar with the temp converter but my guess is that you didn't add a Class to your nib where you need to define your Outlets & Actions.

I would suggest you pick up a copy of Aaron Hillegass' book "Cocoa
Programming for Mac OS X". He has some examples where he walks you
step by step thru the process. His first exercise is 25 pages so giving a
simple explanation on the rules and techniques is not necessarily a
one or two paragraph write up.


If you want something more immediate I would suggest going to:

http://developer.apple.com/documentation/Cocoa/index.html

there are lots of good documents about Cocoa

Mike



_______________________________________________
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


References: 
 >Attaching actions to buttons (From: dor kelman <email@hidden>)

  • Prev by Date: Re: Configuring the xcode environment
  • Next by Date: Re: Distributed build overhead and Mac Mini vs XServe pricing
  • Previous by thread: Attaching actions to buttons
  • Next by thread: Re: Attaching actions to buttons
  • Index(es):
    • Date
    • Thread