Cocoa Anyone?

Does anyone here know Cocoa? I was wondering because I am making a program and would like to have a Mac version. No, the prog is not for you guys :P , :D . It comes with OS X, right. Meaning nothing to buy? Also, does it have a built in database type, like VB integrates with Access databases? And is it similar to any other language (C, et al)? I would search through the Developers section at Apples site, but I would not know what to look for.

#108091

Don't tell me wiz got a G5 too? Now i'm gonna be really depressed. :wacko:

#108093

Not yet. I am planning to within the next 6 months.

#108094

I would imagine that coca is like anyother programing language in the fact that you dont have to buy a compiler, youll probaly have to write all the code in notepad equilvent though, and compile it through command prompt. Persionly i would just use c++, and use a universal library for the graphics portion (one that can be used on both mac osx and windows, mabie even unixes) that way you dont have to rewrite anything, just recompile it. Dont rember what there technicaly called (im kinda blown) or any examples of them, but i know ive seen them.

#108098

Cocoa is NOT a programming language, its a set of libraries written in Objective C, and accessable from C, Objective C, C++, and Java. None of which are like VB, for good reason. You can use these libraries to access Mac -specific functions.

Cocoa is not perfectly cross platform though. You can use GNUstep on *nix, but I dont think its been ported to windows.

If you want something cross platform, Id suggest something like Java, perl, or python. These are cross platform out of the box. Personally, I like Python (beautiful syntax).

Access? Please. Use MySQL, PostgreSQL, or something decent.

#108129

As for whether or not a programming enrironment comes with OS X- yes, it does. At least if you buy the retail version of Panther, you get the Xcode CD with it.

-godpunk

#108136

It also ships with Perl, Ruby, Java, and Python. Tcl I think too, but Im not sure.

and applescript *snicker*

#108140

I know this is probably a stupid question but why is unix always written as *nix????

#108169

Originally posted by Photo678@Jan 31 2004, 10:06 AM

I know this is probably a stupid question but why is unix always written as *nix????

*Nix stands for Unix/Linux Photo. ;)

And yes, Panther has a third installer disc that contains Xcode.

#108173

O.K. Thanks for the clear up. I just heard a few things about Cocoa and just jumped to the conclusion that it was a programming language. I guess Python, here I come!

#108238

Originally posted by Photo678@Jan 31 2004, 05:06 AM

I know this is probably a stupid question but why is unix always written as *nix????

because "UNIX" is a copyrighted/trademarked term, and most OSs that we call "unix" are not really UNIX, they are unix-like. So we call them *nix to mean "the unix clones".

This refers to BSD, Linux, OSX, and others.

#108330

Originally posted by lostspyder@Jan 30 2004, 09:54 PM

the fact that you dont have to buy a compiler, youll probaly have to write all the code in notepad equilvent though, and compile it through command prompt. Persionly i would just use c++, and use a universal library for the graphics portion (one that can be used on both mac osx and windows, mabie even unixes) that way you dont have to rewrite anything, just recompile it.

well, Xcode isnt as bad as you think you describe it, its not done with the command prompt at all, but you do have to write the code right.

ive played around in it, and if i ever get enough free time, im writing a tip-manager for myself for delivering pizza, or re-writing the inventory program for my dad's store (my mom wrote it first in BASIC, and i want to try to get them off the windows platform)

#108620