ARC enabled in Cocos2d Box2d project?

138 Views Asked by At

I was wondering if you can enable ARC in a Box2d project without any issues, or if it is simpler and easier to not use ARC with Box2d projects?

1

There are 1 best solutions below

1
On

Enable ARC, Box2D is not affected by ARC and it's not wise to start any new project without ARC.

The only thing you need to consider is to __bridge cast from and to from Box2D's void* userData properties. Plenty of examples abound, and really simple.