How to make GDATAXML compatible with ARC in XCODE 4.2? How to make GDATAXML compatible with ARC in XCODE 4.2? xcode xcode

How to make GDATAXML compatible with ARC in XCODE 4.2?


I found someone who has (apparently successfully) done the refactor for ARC.

see: http://www.michaelbabiy.com/arc-compliant-gdataxml-library/


You need to use bridged cast:

CFDictionarySetValue(cacheDict, chars, (__bridge_retained_void*) result);

Check out Apple's article "Transitioning to ARC", especially the part about briding.