I’m having trouble declaring a C Array as an Objective-C Property (You know @property, and @synthesize so I can use dot syntax)…Its just a 3 dimensional int array..
I’m having trouble declaring a C Array as an Objective-C Property (You know @property,
Share
You can’t — arrays are not lvalues in C. You’ll have to declare a pointer property instead and rely on code using the correct arraybounds, or instead use an
NSArrayproperty.Example:
Then you can use the
arrayproperty as a 3-dimensional array.