Re: How to store C Arrays as a Property or iVar?
Can you publish the actual declarations for myArray and mArray? The ones you show aren’t quite legal andtoggle quoted message Show quoted text
will be rejected by C compilers.
There isn’t that much different from regular C. In your code, you are not creating a property, but rather an instance variable.
Thus it does not create anything named _mArray. If you created an @property var then the _mArray might work.
Struct assignment does work in Objective C. I don’t remember that arrays may be copied, though. Might that be a C++ extension?
On Aug 18, 2017, at 12:07 PM, Dave <dave@...> wrote: