• 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: New to Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New to Cocoa


  • Subject: Re: New to Cocoa
  • From: "Vigour Vigour" <email@hidden>
  • Date: Mon, 24 Feb 2003 11:26:27 +0000

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.
  • Follow-Ups:
    • Re: New to Cocoa
      • From: Jeffrey Mattox <email@hidden>
    • Re: New to Cocoa
      • From: Markus Boehmer <email@hidden>
    • Re: New to Cocoa
      • From: Marc Weil <email@hidden>
  • Prev by Date: Re: Objective-C commenting
  • Next by Date: Change a NSToolbarItem appearence
  • Previous by thread: New to Cocoa
  • Next by thread: Re: New to Cocoa
  • Index(es):
    • Date
    • Thread