How do I detect that a button has been pushed and do something after it's been pushed?
How do I detect that a button has been pushed and do something after it's been pushed?
- Subject: How do I detect that a button has been pushed and do something after it's been pushed?
- From: Brian Heibert <email@hidden>
- Date: Sun, 07 Jan 2007 20:21:34 -0500
Hi,
I am new to XCode. I am using Interface Builder and the Cocoa Framework
I have used BASIC Programming languages in the past both
FutureBASIC and REALbasic.
In my .nib file I have a window with various interface objects
For example a edit field and some buttons
In my main.m file all I got is
#import <Cocoa/Cocoa.h>
int main (int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
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
I want to do something when my Create & Save button is pressed
I have a popup menu with numbers in it
and let't say number 1 was selected
I have a edit field where the user types in some text
I want to save that as a .Rtf file
Brian Heibert
email@hidden
_______________________________________________
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