Re: Cocoa equivalent of std::vector<MyType> ?
Re: Cocoa equivalent of std::vector<MyType> ?
- Subject: Re: Cocoa equivalent of std::vector<MyType> ?
- From: Guillaume Laurent <email@hidden>
- Date: Sun, 14 Dec 2008 14:46:46 +0100
On Dec 14, 2008, at 13:52 , email@hidden wrote:
You can of course use straight ahead C but if it's a Cocoa app then
it's most effective to use the standard classes.
NSValue can used to wrap data types of constant length.
That was my first thought but I still have an array of pointers to
NSValue objects, plus I have the penalty of encoding/decoding the value.
--
Guillaume
http://telegraph-road.org
_______________________________________________
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