PDA

View Full Version : Cocoa or not?


Duane
2004.07.23, 04:16 PM
How many people are able to program in Cocoa, and enjoy doing so? All I'm asking is for a wing specially for cocoa programing. Already there's one for OPENGL, Metal, Real-basic, and Dim-3. Why not one for Cocoa?

skyhawk
2004.07.23, 05:47 PM
*raises hand proudly*

Nick
2004.07.23, 06:41 PM
I can program with Cocoa. In fact, that's how I started. I simply moved on to SDL because I like it more.

JustinFic
2004.07.23, 10:17 PM
I can, but for games I don't. Cocoa severely limits who can eventually play my games to just OS X users. With SDL I can give my game to OS 9 / PC folks with minimal effort.

I DO however use Cocoa to quickly make tools for my games.

I second the need for a Cocoa forum though. Because of the language difference, people looking for an answer in C++ will not be satisfied by one in Obj-C, and vice versa.

ThemsAllTook
2004.07.24, 01:37 AM
I voted yes, but Cocoa is not my API of choice. I know how to use it, but I much prefer Carbon.

Alex Diener

Duane
2004.07.24, 11:47 AM
Carbon is used for games, in my view, and cocoa is used for apps, and possible some 2-d games.

skyhawk
2004.07.24, 12:55 PM
Carbon is used for games, in my view, and cocoa is used for apps, and possible some 2-d games.
that's ridiculous

Duane
2004.07.24, 01:23 PM
What? Carbon is not made for apps, while cocoa was.

skyhawk
2004.07.24, 04:20 PM
no, to say that carbon is better for games and cocoa is better for apps. pah! There is little validity to why Cocoa could not handle "games" just as much as Carbon. If anything, Cocoa has an EXTREME advantage to doing games with the simplicity of doing some thing that in carbon would take 80 lines.
I mean, Carbon is better for games over cocoa in much the same way assembly is better for games than C. I'll bet you anything I'll get my game done with less headache in C and be just as fast, if not faster (due to data structures that would takes a LONG time in assembly to do) than the assembly code.
saying an API is limited to something is ridiculous though.
otherwise, here is how I assign my APIs/languages to their uses:
BASIC - Operating Systems
Assembly - 3D modeling and networking apps
Cocoa and Carbon - Calculator apps
PERL - 3D Games
FORTRAN - 2D Games
OpenGL/OpenAL - accounting software

OneSadCookie
2004.07.24, 06:59 PM
In my mind, for fullscreen games there's nothing to choose between Cocoa and Carbon. You'll be writing so little of either that it really isn't likely to make much difference.

For almost any game with a window, Cocoa is probably going to be easier, because it'll do some of the stuff you need, for you.

As for the original question, I don't think there's any need for a Cocoa forum. If you state in your question which language and API you're using, you will get answers for that. If you don't, even in a board dedicated, people will ask what you're using -- see the METAL board for examples. People simply don't see the board category when replying. Also, there are plenty of things in Cocoa where the answer is "use this snippet of Carbon". There are also things in Carbon where the answer is "This piece of Cocoa would be much easier than the Carbon solution" or "here, translate my Foundation code to CoreFoundation and you'll be sweet", so trying to divide the two will only lead to cross-posting anyway.

phydeaux
2004.07.26, 12:06 AM
Program the guts of your game in something portable, and the outer shell (configuration, setup) in Cocoa.

Carbon was fun back in the olden days when we all programmed in Pascal, but it's time to move on if you're not trying to dig up old code. Okay, that's not entirely true, but for beginners I would say it would be best to avoid it.

Duane
2004.07.29, 04:52 PM
So who thinks there should be a wing?

CARLOS!

skyhawk
2004.07.29, 04:57 PM
nay

(minimum post length now met)

LongJumper
2005.07.15, 04:56 PM
I personally just prefer Carbon, it's what I know, it's what I like. I don't have a problem writing extra code in some instances. Maybe one day I'll learn Objective-C and do some things in Cocoa, but for now, Carbon does everything I want.

I'd say Carbon has a steep learning curve though, not neccesarily to figure things out, but to remember the naming schemes. It's only now, after years of programming in it, can I remember the names of functions without havign to look them up, or getting them wrong the first time.

sealfin
2005.07.15, 05:02 PM
Last post by skyhawk on 29th July 2004; need I say more? ;)

unknown
2005.07.15, 05:11 PM
Do you mean, shutup or what?

sealfin
2005.07.15, 05:44 PM
@unknown: just noting the gravedigging* ;) I've, personally, no problem with a long-dead thread being resurrected if the poster has new insight into the thread, but there really should be a maximum life for poll threads...



(*which I'm not innocent of either, as I accidentally voted on the poll before I saw of the date of the last post prior to LongJumper's ;))

Steven
2005.07.15, 07:29 PM
It wouldn't be so bad if the old threads would stop appearing on the new posts list! This board is seriously b0rken, I think... :p

aarku
2005.07.15, 07:40 PM
When people make polls they have an option to say how many days it is open for.

*closed*

-Jon