Re: Is it possible to use the Cocoa API with c++???
Re: Is it possible to use the Cocoa API with c++???
- Subject: Re: Is it possible to use the Cocoa API with c++???
- From: Chris Hanson <email@hidden>
- Date: Fri, 22 Feb 2002 02:00:31 -0600
Not in the way you probably want to.
The reason is that C++ is not a dynamic language. Cocoa absolutely
relies on the dynamic features of Objective-C and Java. These
features are where a large portion of its power and ease of use come
from.
You can mix C++ and Objective-C in the same file though by using
Objective-C++. This doesn't mean you can subclass a C++ class in
Objective-C or vice versa. It does mean though that you don't have
to write any plain C glue to call preexisting C++ code in a Cocoa
application.
-- Chris
--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
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.