• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cross-platform toolkit with a Cocoa backend
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-platform toolkit with a Cocoa backend


  • Subject: Re: Cross-platform toolkit with a Cocoa backend
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 10 Jul 2007 19:37:39 +0200

On 10.07.2007, at 16:22, Dr. Rolf Jansen wrote:
In Carbon the Button is (more or less) dead and you have to bring it to life with your code. In Cocoa the button lives already and you only can bring it to dead with extra code, which does not fit into to Cocoa way of doing things

Well, actually, Carbon by default adds "standard handlers", so usually a button isn't dead. Just like Cocoa's built-in methods that you can override, Carbon's standard handlers can be overridden (and you can even call through to them). So, I don't think this is an accurate comparison.


How about trying to replace a Carbon button by a Cocoa button, in this process you will see how far it takes and if it is sufficient for the whole project.

As of 10.4, you can only mix Cocoa and Carbon at the window level. You cannot yet put a Cocoa view in a Carbon window. Apple can (and does, e.g. for the printing sheet), but it's really hard to do that yourself without access to the internals.


I would see it like this. Carbon is the latest step in the evolution of the Mac toolbox and it contains all the ancient genes from 1984, and with that it evolved into a immovably big and heavy and hungry Dinosaur. What happend with the Dinos? Yes, the Dinos themselves are dead, but 90 % of its genes are still there, look at all the small and beautiful birds.

Interesting view :-) I just wanted to mention that the only API I think I still regularly use in Carbon programming that was around in 1984 is SysBeep(). :-)


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cross-platform toolkit with a Cocoa backend (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: j o a r <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: "Dr. Rolf Jansen" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: "Felipe Monteiro de Carvalho" <email@hidden>)
 >Re: Cross-platform toolkit with a Cocoa backend (From: "Dr. Rolf Jansen" <email@hidden>)

  • Prev by Date: Re: Is there a fast NSShadow alternative?
  • Next by Date: Re: Cross-platform toolkit with a Cocoa backend
  • Previous by thread: Re: Cross-platform toolkit with a Cocoa backend
  • Next by thread: Re: Cross-platform toolkit with a Cocoa backend
  • Index(es):
    • Date
    • Thread