Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make GDATAXML compatible with ARC in XCODE 4.2?

I tried to convert GDATAXML Lib to ARC automatically with the refractor -> Convert to ARC Objective-C in XCode 4.2.

The ARC converter gives the following error:

  result = [NSString stringWithUTF8String:(const char *) chars];
  if (cacheDict) {
    // save the string in the document's string cache
    CFDictionarySetValue(cacheDict, chars, result);
  }

error: Impicit conversion of Ojective-C pointer to void.

Has anyone succeeded in converting the GDATAXML Libs to ARC Objective-C?

like image 362
Al-Noor Ladhani Avatar asked Jan 16 '12 01:01

Al-Noor Ladhani


2 Answers

please follow the instructions on how to make GDataXML work on your code: http://ibombsite.blogspot.com/2012/02/how-to-make-gdataxmlnode-work.html

like image 105
yoninja Avatar answered Sep 30 '22 12:09

yoninja


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

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

like image 35
James Avatar answered Sep 30 '22 13:09

James