Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Basic development questions

Basic development questions
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Location: Albuquerque, NM USA
Status: Offline
Reply With Quote
May 19, 2001, 01:57 PM
 
Please redirect me to the appropriate place if there is one, but my question is VERY basic. How does one start to develop Macintosh programs? I am a high school teacher, and I see the need for simple utilities that can't be too hard to program. But I don't know how and where to begin.

I do have some skills: I can program in C++, have access to an older version of CodWarrior at school, and have been a MacAddict since the Mac Plus days. But I am also getting older and slower, and have not had formal computer programming instruction for a long time.

Thanks.

------------------
Ellen Loehman
Manzano High School - Albuquerque NM
Ellen Loehman
Albuquerque Public Schools
     
loehman  (op)
Fresh-Faced Recruit
Join Date: May 2001
Location: Albuquerque, NM USA
Status: Offline
Reply With Quote
May 19, 2001, 09:11 PM
 
I should add that my C++ programming experience is on a gnu compiler in a unix environment.

------------------
Ellen Loehman
Manzano High School - Albuquerque NM
Ellen Loehman
Albuquerque Public Schools
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
May 21, 2001, 06:03 PM
 
Cool.

There have been a few threads on this board addressing the "How do I start programming on OS X?" question. They've got some good suggestions and pointers, though they mostly speak to those without any coding chops at all.

(Oh, you *are* interested in OS X programming, right? Not OS 9?)

I'd take a look at Project Builder, which comes with OS X and is free. You could also use Codewarrior, but its presence on X is still kinda shaky (I got a new release at WWDC today -- we'll see how much things have improved... ). Project builder is actually just a GUI front-end for the command-line compiler and debugger on X, so you'll be in fairly familiar territory.

You more or less have 3 choices of API for development involving a GUI: Carbon, Cocoa, or Java. Carbon has a C API, Cocoa is written in Objective C, and Java is ... Java. Cocoa's a sophisticated framework which does a lot of work for you and is probably the best route for the kinds of things it sounds like you'd be doing. On the other hand, you'd have to learn Obj-C (or Java). Which probably wouldn't be too tough, if you have a good grasp of C++.

Carbon isn't nearly as programmer-friendly as Cocoa or Java, but it's readily accesible for someone used to working in C/C++. Also, there are a couple of frameworks out there to make life easier. Powerplant and MacApp spring to mind. These both leverage C++. Another reason that Carbon may appeal to you is that its purpose is to allow developers to write for both OS X and OS 9.

If you're not even looking to make a GUI, by the way, you can use X's command-line tools and development environment just as you would with any other *nix.

developer.apple.com is your friend.

HTH
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
May 21, 2001, 06:16 PM
 
If you're interested in programming for Mac OS X, try searching OS X - Developer for the programming FAQ.
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
loehman  (op)
Fresh-Faced Recruit
Join Date: May 2001
Location: Albuquerque, NM USA
Status: Offline
Reply With Quote
May 23, 2001, 11:01 PM
 
Thanks. Since I have not yet upgraded to system X, I wasn't making the connection that a linux kernel meant that linux applications will run in a command lind mode. As soon as school is out (2 more days....).

Are there books that talk about Mac software development?
Ellen Loehman
Albuquerque Public Schools
     
Fresh-Faced Recruit
Join Date: Feb 2001
Location: Cape Canaveral, FL
Status: Offline
Reply With Quote
May 24, 2001, 09:19 AM
 
My suggestion would be to check out http://www.codewarrioru.com/CodeWarriorU

Go buy the Learning Edition of Codewarrior (about $50) and try out some of the examples.

Also go read MacTechs online tutorial. http://www.mactech.com/macintosh-c/

That should get you started.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:03 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2