Re: New to Cocoa
Re: New to Cocoa
- Subject: Re: New to Cocoa
- From: Jeffrey Mattox <email@hidden>
- Date: Mon, 24 Feb 2003 13:14:42 -0600
Vigour:
I was in your position a few months ago (experienced programer, but
new to Cocoa and Project Builder). The answer to your basic
questions can't come from this list -- there are too many little
details to soak up at first.
This list will certainly help with specific questions about some
aspect of your program , but if you're still wondering what to do
with main.m (answer: nothing!), you should get the two books
suggested earlier and spend a few days working though the detailed
tutorials in the first half of each. They tell you exactly what to
type and where to click.
You're looking for a lazy out. I'm one of the laziest people around,
and I started with those two books, did the tutorial projects in the
first half of each, and that was enough to get me going -- the books,
unfinished, are now just used for reference. I felt I understood
Cocoa when I was able to identify typos in the texts. :-)
the best way of learning for me is to have answers on my question...
And the answers to your EXACT question are right there, in the first
few pages of the books. Honest.
Jeff
I want to thank all users on this list for all help and suggestions but:
My questions is still not answered. I am not new to programming,
only Cocoa, and the best way of learning for me is to have answers
on my question. I know that there are targets, outlets and things
like that but I don't understand how to call code from a button. I
will learn a lot if someone will tell me how to do that.
Best regards Peter
From: "Vigour Vigour" <email@hidden>
To: email@hidden
Subject: New to Cocoa
Date: Mon, 24 Feb 2003 09:31:20 +0000
I am completely new to Cocoa and need some help to get started.
To init my app I insert the code before the line 'return
NSApplicationMain(argc, argv);' in the main.m file, right?
Now I want to make a button in interface builder that prints
'Hello' to the terminal like this printf("Hello"); But how do I
connect the button to the file (or is it called Class) where the
printf code is? What are the steps needed?
Best regards Peter
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.