• 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
Newbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Questions


  • Subject: Newbie Questions
  • From: Brian Heibert <email@hidden>
  • Date: Wed, 21 Feb 2007 19:40:00 -0500

Hi,

I am new to this list, and new to XCode & Cocoa. The XCode-list told me to post my question here. I previously have used BASIC languages REALbasic and FutureBASIC.



In my SPAction.m file I have this - what do I do to get my buttons to do something.
I have two buttons in the example below Assist and B


Do I put code below the (IBAction)Assist:(id)sender?
What would I do to make B: insert the letter B into my NSTextView edit field
also what would I do to get Assist to speak whatever is in my NSTextView edit field


Brian

#import "SPAction.h"

@implementation SPAction


- (IBAction)Assist:(id)sender {

}


- (IBAction)B:(id)sender { }

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Newbie Questions
      • From: Scott Stevenson <email@hidden>
    • Re: Newbie Questions
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: checkbox delegate
  • Next by Date: Re: Inserting lists into NSTextView
  • Previous by thread: Re: Managed Object states for tab view
  • Next by thread: Re: Newbie Questions
  • Index(es):
    • Date
    • Thread