From: Kevin W. <kw...@co...> - 2007-06-18 17:32:39
|
Jim Ingham wrote: > > Cocoa is a higher level toolkit than Carbon. Tk wants to get it's > grubby paws on events much closer to the "raw" state than the Cocoa > model allows you to easily do. OTOH, Carbon is a pretty low-level > toolkit. So it was a better match for Tk. That's why when we were > originally doing the Mac OS X port I decided to go with Carbon rather > than rewriting it in Cocoa. > > It could probably be done with Cocoa, but it would be more work, and > would probably require subverting what Cocoa wants you to do at various > points, so it is likely to be somewhat fragile. Moreover, it would be a > lot of work. If somebody wants to do this, it would probably be a lot > of fun, but it's not a weekend project... > And I'm not certainly not the person to do it, alas. This pretty much confirms my fears. It appears that, long-term, Carbon (and correspondingly Tk) is a dead-end for GUI development on OS X--perhaps not now, but a few years from now. -- Kevin Walzer Code by Kevin http://www.codebykevin.com |