Originally posted by MacsRgr8
Indeed Shadowfax.
Here's an example. Every cocoa app can access the font management tool built in OS X, by typing COMMAND-T.
If it can't, then it's a carbon app.
Here, take a look:
Originally posted by Shadowfax
is MS Word, then, a cocoa app or not??
Originally posted by MacsRgr8
Both not.
M$ indeed wants to do things their own way. It looks most like a carbon app, but they made some changes to the standard carbon, for some idiotic rerason. You can tell this by the simple fact that you can't add languages to the apps manually, one of the great things of OS X.
And it sure ain't cocoa... no way.
Maybe Office v X1... aka Apple-make-a-better-office-than-M$.
Originally posted by Shadowfax
is MS Word, then, a cocoa app or not? i don't think it has access to fonts that way, but it has the dropdown dialog boxes. Word may just be a weird exception, as MS has their own way of doing stuff like that from Office already, probably![]()
on a random note, Word pisses me off a lot because cmd-shift-s doesn't "save as..." there isn't a save as shortcut. what were they smoking?
Originally posted by Shadowfax
you can tell based on error messages and open/save dialogues and stuff, for one. like, if a save dialog pops up as a whole new window, like photoshop, it's carbon. in a cocoa app like iChat or Chimera or MS word, on the other hand, will have save etc dialog boxes slide down from the titlebar of the window they apply to.
there is an app to check this too; i have it somewhere. i am looking for it madly; if i find it, i'll tell you.
Originally posted by MacsRgr8
Indeed Shadowfax.
Here's an example. Every cocoa app can access the font management tool built in OS X, by typing COMMAND-T.
If it can't, then it's a carbon app.
Here, take a look:
Originally posted by benixau
save as ... under a mac has always been F12.
Originally posted by bousozoku
You can access sheets (sliding, attached dialogs) from Carbon. In fact, it was one of the first things I learned to do in Mac OS X GUI programming.
MS uses Carbon, btw. It's really just an adjustment to their 2001 code which uses Nib files instead of resource files.
I'd still like to know what Cocoa can give you that Carbon can't (other than a headache when porting C++.)
Convince me that I'm going to port something in C++ (used by 70+ percent of applications) to Mac OS X and Objective-C (with the Cocoa frameworks), which is used by fewer than 2 percent of applications since the late 1980s.
Originally posted by Shadowfax
...
thanks for setting me straight. I don't know much about either framework, honestly. i thought i'd read something somewhere about the slide-down menus being a cocoa advantage. but you can't believe everything you read, huh? lol.
so does carbon have that native antialiasing on fonts and all the automatically (fairly so at least) available spell checking and easy language switching options? that seems like an advantage to me, but carbon ?may? have this too.![]()
Originally posted by bousozoku
Cocoa is object-oriented and can be used with Objective-C (a beautiful language) or Java (Objective-C is a beautiful language.)
Objective C++...Ever tried it?I'd still like to know what Cocoa can give you that Carbon can't (other than a headache when porting C++.)
Originally posted by Dreamagi
Hey y'all, I'm a Windows user considering a switch to the Mac platform, however, the thiong holding me back is that I am and computer-science student. Yeah, you know Visual C, Visual Basic, Java (SE/ME), that kinda thing.
I am very interested in developing programs for the Mac platform, but still kinda confused about the languages available. Java for sure is portable, but what about my VB applications? Or what actually is Cocoa and Carbon that I have been reading up on lately? Could anyone fill me in?
(I was reading a Cocoa book, and it seemed quite a lot like Visual Basic... is it??)
Well, Languages that are available are: C , C++, Objective C (Similar to Java...sort of). Cocoa, is just a set of Api's that are very object oriented and can be accessed using Java, C, C++ and Objective C, with the C-based languages able to be mixed if neccesary. You can also access the Cocoa Api's from Java.ey y'all, I'm a Windows user considering a switch to the Mac platform, however, the thiong holding me back is that I am and computer-science student. Yeah, you know Visual C, Visual Basic, Java (SE/ME), that kinda thing.
I am very interested in developing programs for the Mac platform, but still kinda confused about the languages available. Java for sure is portable, but what about my VB applications? Or what actually is Cocoa and Carbon that I have been reading up on lately? Could anyone fill me in?
(I was reading a Cocoa book, and it seemed quite a lot like Visual Basic... is it??)
Originally posted by chewbaccapits
So...In laymens terms....What are the benefits of a cocoa app vs. one written in carbon...BTW, ...Saying cocoa is kinda fun..