• 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: Objective-C++ or C bridge?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C++ or C bridge?


  • Subject: Re: Objective-C++ or C bridge?
  • From: Lance Bland <email@hidden>
  • Date: Sat, 2 Feb 2002 15:51:06 -0500

On Saturday, February 2, 2002, at 02:31 PM, Jason Batchelor wrote:

Can anyone point me to a good guide as to the differences between the above? For someone with no C/C++ experience, where would be the best place to start, and what language would be the best bet to start learning first?

Install from the Mac OS X developer CD.
Get a project out of this directory:
/Developer/Examples/AppKit
For example this project:
/Developer/Examples/AppKit/CircleView
double click this file:
/Developer/Examples/AppKit/CircleView/CircleView.pbproj
build and run the project.

You just made an Application!
then go back and look at the source code.
insert this in a method (any place you think is OK) somewhere:

printf("I got here!\n");

rebuild the project and run it (ignore the compiler warning)
(if it results in an error then place printf() somewhere else)
you just modified an Application, and made your first app!
Get a book on the ANSI-C language, read some of it.
Look at the online docs for the Objective-C language.
Go back to
/Developer/Examples/AppKit/CircleView
and understand it further.
Use the project builder online help system to access reference material.
choose a harder example in /Developer/Examples/AppKit
Now you are on your way to becoming a pro.

_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization


References: 
 >Re: Objective-C++ or C bridge? (From: Jason Batchelor <email@hidden>)

  • Prev by Date: Re: Objective-C++ or C bridge?
  • Next by Date: OpenGL problem
  • Previous by thread: Re: Objective-C++ or C bridge?
  • Next by thread: Draggable buttons
  • Index(es):
    • Date
    • Thread