re: Declaring multidimensional arrays in obj-c
re: Declaring multidimensional arrays in obj-c
- Subject: re: Declaring multidimensional arrays in obj-c
- From: Justin Carlson <email@hidden>
- Date: Tue, 2 Sep 2008 16:11:57 -0500
Hello all,
I'm having a devil of a time trying to figure out what seems to be a
pretty basic scenario: declaring a multidimensional array in the
interface section of a class when the array dimensions are unknown
until runtime. Can anyone point me in the right direction with this
one?
Hi Don,
You can use a C struct or C++ class and in your Obj-C interface.
Again, there are restrictions, so let us know if you get stuck. If you
can't declare construction for these objects (it is a compile option),
use a pointer with new during init and delete during dealloc.
J
_______________________________________________
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