Re: Where is the line drawn?
Re: Where is the line drawn?
- Subject: Re: Where is the line drawn?
- From: Mike Lazear <email@hidden>
- Date: Tue, 14 Jun 2005 11:15:24 -0700
On Jun 13, 2005, at 1:53 PM, Jean-François Brouillet wrote:
Sorry if this is the wrong list to ask; please point me to the right
one :-)
The block diagram of OS X shows Cocoa & Carbon as "peers", relying on
the
"core OS" to provide facilities to build on top of.
For some reasons, I want to build my own smallish framework that is
neither
Cocoa, nor Carbon.
Should I start with a BSD target in Xcode, and add "core frameworks"
after
core frameworks as I see fit, or am I missing something?
There are still a few blurry lines in my head. For example, knowing
that Carbon
"emulates" QuickDraw, but that the core OS provides Quartz, is
QuickDraw
accessible outside Carbon as a framework on its own, or is this
emulation
built-in into Carbon?
Also, I kind of sense that, for "end-user" application, there are
features
that are built into Cocoa or Carbon (and not necessarily the same) that
are nowhere to be seen as independent frameworks.
Any measure of how many of those "add-in" features not part of the
core OS
that I will miss if I go my own route?
For Carbon questions there is the carbon-dev mail list. for Cocoa
questions
there is the cocoa-dev mail list. For Quartz (or probably any graphics
questions)
there is the quartz-dev mail list.
QuickDraw calls are made thru Carbon. I don't believe you can call
QuickDraw without
going thru Carbon. QuickDraw is currently deprecated, meaning Apple
has no
intent to add anything additional to QuickDraw. Again this year at
WWDC they
clearly told us to get off QuickDraw and move to Quartz. To write any
kind of
framework that uses QuickDraw at this point would be really a very bad
idea
unless you have some huge business reason to do so (which I can't
imagine
what that would be).
Quartz can be called by either Carbon or Cocoa. It has greatly expanded
functionality over QuickDraw. If you want to do any kind of graphics
on OS X
you want to use Quartz. With the exception of the deprecated QuickDraw
I don't
know if it is possible to bypass Quartz and do graphics but even if you
could you
would lose all hardware acceleration that OS X provides.
If what you want to write is some kind of command line program that
doesn't
do graphics then you can probably get around the Carbon or Cocoa.
If you want to do graphics I would suggest describing what you want to
do on the
Quartz list and getting recommendations on how to approach your problem.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden