So I'm used to developing in Java and Swift, where pointers aren't really something I have to worry about.
But I find myself on a project involving some Objective-C code that I can't quite get.
I understand putting a * before a name declares it as a pointer, and I've seen some instances where declaring it after can also be used as a pointer.
So imagine my frustration when I see interface methods I'm expected to implement whose signatures include int * and int ** arguments, and the description I'm given is that these are arrays (and ** is a 2d array).
Google tells me it's a pointer (and a pointer to a pointer), but that doesn't make sense to me since a pointer to me implies one variable in memory that you are pointing to, not a collection of them.
So how does this work, and how can I iterate over them?