• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: Declaring multidimensional arrays in obj-c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: re: basic Core Data scaling question
  • Next by Date: Re: textfield validation / formatter: emailaddress
  • Previous by thread: Re: Declaring multidimensional arrays in obj-c
  • Next by thread: Re: textfield validation / formatter: emailaddress
  • Index(es):
    • Date
    • Thread