Re: Carbon Events vs Cocoa Events
Re: Carbon Events vs Cocoa Events
- Subject: Re: Carbon Events vs Cocoa Events
- From: Eric Schlegel <email@hidden>
- Date: Mon, 1 Apr 2002 08:59:27 -0800
On Monday, April 1, 2002, at 07:47 AM, Bill Bumgarner wrote:
Compare the SimpleText source tree to the TextEdit source tree. In
SimpleText, a tremendous amount of code is devoted to making the
application look and feel like a proper OS X application. In Cocoa,
the look and feel is given to the developer for free, almost all of the
code is devoted to implementing stuff that is unique to TextEdit.
Keep in mind, also, that SimpleText is based on the WaitNextEvent event
model. The newer Carbon event model is much richer and provides much
more default functionality for free. A significant portion of the basic
UI implementation in SimpleText would simply disappear if SimpleText
used the standard Carbon event handlers.
-eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.