Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is Carbon Viable?



On Jun 13, 2007, at 22:04:09, stephen joseph butler wrote:

UI development strategies are changing as platforms start to present a
different experience. Let's face is: C/C++ are not good languages to
develop UI's in,

What gives you that idea? Our C++ app framework wraps all the standard Carbon/HI controls with C++ subclasses. We can call GetLongValue or GetUnicodeValue on of those wrappers without knowing or caring what type of control it actually contains. For almost all of the Carbon Events we care about, the base class automatically installs the handler, then routes any subclass can override a virtual method to handle events in a special way if needed. Our windows are also C++ wrappers for WindowRefs, with subclasses for dlogs, palettes, and overlays. I might be biased, but I like writing UI stuff in C++ a heck of a lot more than anything else, including Obj- C, because we also get multiple inheritance that we use all over the place to great effect. Does Obj-C 2.0 offer that yet?


_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
email@hidden                       www.multi-ad.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Is Carbon Viable? (From: Rick Mann <email@hidden>)
 >Re: Is Carbon Viable? (From: "Tom Saxton" <email@hidden>)
 >Re: Is Carbon Viable? (From: "stephen joseph butler" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.