Carbon, Cocoa, and.... CLI???

solrac

Mac Ninja
Are CLI programs (Command-Line programs) in the Terminal the same as a Cocoa app?

Like if you use the command "ftp" or "ncftp" or "emacs" or "vi" or any of those things... are those coded in objective-c like a cocoa app? Or are they just shell scripts? (Meaning what?)

Thanks,
-Carlos-
 
No, they are completely different. I have no idea what shell scripts and all the other stuff is because i'm not a Unix person. However one cool thing i found out is that you can compile C programs and run them through the terminal!:D Sorry i'm not much of a help.

-whitesaint
 
Most of the cli programs come from the unix world and are written in C , some C++ ,(emacs in LISP) they have nothing to do with cocoa at all.
 
Cocoa is synonymous to Objective-C - codewise.

Apple's gcc compiler can compile Objective-C code, hence you can make programs coded for Objective-C in the terminal.
 
Back
Top