I\'m trying to come up with an iterative function that generates xyz coordinates for a hexagonal grid. With a starting hex position (say 0,0,0 for simplicity), I want to calculate the coordinates for
How do I test whether an object is an instance of a particular 开发者_如何学编程class in Objective-C? Let\'s say I want to see if object a is an instance of class b, or class c, how do I go about doin