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 > Starting OS X development

Starting OS X development
Thread Tools
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Oct 30, 2000, 09:49 AM
 
Hello everyone!

Can someone tell me how I should continue learning OS X dev stuff?

I have the dev tools, and have built a few Carbon apps in C (Sillyballs-esque stuff), but I'm wondering if Cocoa is more worth it.

Is it? I've seen a bit of Objective-C code and it looks too OOP for me.
Is it at all possible to code Cocoa in normal C?
Will Cocoa start to gain more development? Or is Carbon going to stay for a while?

Also, how can I use IB to create apps? Is there documentation for all of the nib functions?
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Nov 1, 2000, 10:14 AM
 
Could someone help me with this please?

"Against stupidity, the gods themselves contend in vain" (Schiller)
     
ali
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Nov 1, 2000, 12:41 PM
 
Originally posted by parallax:
Hello everyone!

Can someone tell me how I should continue learning OS X dev stuff?

I have the dev tools, and have built a few Carbon apps in C (Sillyballs-esque stuff), but I'm wondering if Cocoa is more worth it.

Is it? I've seen a bit of Objective-C code and it looks too OOP for me.
Is it at all possible to code Cocoa in normal C?
Will Cocoa start to gain more development? Or is Carbon going to stay for a while?

Also, how can I use IB to create apps? Is there documentation for all of the nib functions?
Objective-C is a small superset of C, a much smaller superset than C++. It adds a little bit of syntax in order to allow you to declare classes, and adds the message sending syntax: [obj someMessage:arg] is really like obj->someMessage(arg). Other than that an Objective-C program is really a C program.

The object-oriented nature of Cocoa provides you with a high level abstractions and a lot of the functionality that most apps need; this means your apps are smaller and leverage the system a lot more. So for Mac OS X only apps, or Mac OS X-only sections of cross-platform apps, Cocoa is a great choice.

Cocoa is an integral part of Mac OS X (many apps on the system are Cocoa); and judging from the increasing interest in this and other mailing lists, many developers are looking at it. There are some third-party Cocoa applications out there already available for Mac OS X (and Mac OS X Server).

You can find Cocoa docs both on your system and on http://developer.apple.com/techpubs/...oaTopics.html. The latter might be more uptodate as the docs are actively being updated. There is also a tutorial or two there.

Some additional Cocoa examples are also available on your machine, in /Developer/Examples/AppKit and /Developer/Examples/Foundation.

The OmniGroup developer mailing list (http://www.omnigroup.com/community/d...sts/macosx-dev) is also a good resource for both advanced and beginner Mac OS X developers.

Ali

[This message has been edited by ali (edited 11-01-2000).]

[This message has been edited by ali (edited 11-01-2000).]
     
Forum Regular
Join Date: Sep 2000
Location: Ronneby, Sweden
Status: Offline
Reply With Quote
Nov 1, 2000, 12:53 PM
 
If you want you can also do Cocoa programming in Java if you like that language better. There is a tutorial on the webpage Ali mentioned that goes through the steps in making a small Cocoa program in Java.

/Gabbe
     
Mac Elite
Join Date: Oct 2000
Location: Australia
Status: Offline
Reply With Quote
Nov 1, 2000, 08:24 PM
 
Also check out Apple's recently posted "SimpleCocoaApp" which is a very small but fully functional sample program intended to familiarize newcomers to the process of writing software in Cocoa.
http://developer.apple.com/technotes/tn/tn2005.html

Fully documented by the Apple team, and you can pull the working project to pieces in Project Builder and Interface Builder to learn how things are done.

Excellent first time introduction to the Cocoa environment.

I too am a Cocoa virgin. Coming from a PowerPlant background, it is very interesting to see the parallels between Metrowerks Constructor and Interface Builder.
     
Admin Emeritus
Join Date: Oct 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Nov 2, 2000, 10:26 AM
 
Thanks all!
"Against stupidity, the gods themselves contend in vain" (Schiller)
     
   
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 12:37 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