Re: Cocoa/Windows parallel dvlpmt
Re: Cocoa/Windows parallel dvlpmt
- Subject: Re: Cocoa/Windows parallel dvlpmt
- From: John Stiles <email@hidden>
- Date: Mon, 2 Feb 2004 13:33:54 -0800
On Feb 2, 2004, at 9:57 AM, Darrin Cardani wrote:
At 7:03 AM -0800 2/2/04, John Stiles wrote:
On Jan 31, 2004, at 3:52 PM, Darrin Cardani wrote:
As I understand it, you can't use STL in Cocoa code. If nothing
else, you'll have problems with templates because of the "<>"
bracket syntax, if I recall correctly.
This is not true at all.
I love Cocoa as well as STL. Mixing them is easy and works quite
well. Obviously you can't pass a vector<> to something that expects
an NSArray*, etc, but there is no reason why STL can't be used in a
Cocoa app.
Sorry for the confusion. I was told it wasn't possible, but I've never
tried it as I don't use templates too often. Maybe it wasn't possible
at one time in the past? I don't know. But thanks for the update.
In OS X 10.0.x it was definitely a real PITA. I don't remember how good
or bad it was for 10.1.x (I was a total Cocoa lightweight back then).
By 10.2.x things got pretty well sorted out and you could use C++ and
Cocoa together in production work.
_______________________________________________
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.