Reputation: 12367
I need to iterate through certain bodies. For that I want to add those bodies to an NSMurableArray. But as NSMutableArray accepts objective-c objects only, I need a way to cast b2Body to id. Trying [bodiesArray addObject:(id)body];
does not help.
Upvotes: 3
Views: 231