• 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: How do I detect that a button has been pushed and do something after it's been pushed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I detect that a button has been pushed and do something after it's been pushed?


  • Subject: Re: How do I detect that a button has been pushed and do something after it's been pushed?
  • From: David Dunham <email@hidden>
  • Date: Sun, 7 Jan 2007 17:35:39 -0800


On 7 Jan 2007, at 17:21, Brian Heibert wrote:

I am trying to learn Cocoa & XCode so please bare with me
I have also looked at two programming books and still couldn't find my
answer

Which books are you using? Have you gone through Apple's online Cocoa tutorial (Currency Converter)? It shows how to make buttons do stuff...


I want to do something when my Create & Save button is pressed

You need to connect it to an action in Interface Builder.

I have a edit field where the user types in some text
I want to save that as a .Rtf file

You need to connect the field to an outlet in Interface Builder, so you can access it from your code.


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.

_______________________________________________
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: 
 >How do I detect that a button has been pushed and do something after it's been pushed? (From: Brian Heibert <email@hidden>)

  • Prev by Date: How do I detect that a button has been pushed and do something after it's been pushed?
  • Next by Date: Re: Crash during function prologue
  • Previous by thread: How do I detect that a button has been pushed and do something after it's been pushed?
  • Next by thread: How to debug in xcode a ROOT-level executables?
  • Index(es):
    • Date
    • Thread