class NSCFData autoreleased with no pool in place

Posted by iSight on Stack Overflow See other posts from Stack Overflow or by iSight
Published on 2010-06-14T12:59:43Z Indexed on 2010/06/14 13:02 UTC
Read the original article Hit count: 139

Filed under:

Hi,

I have converted my NSString into string, and returning the same but the above error mentioned in the title is printing on console. Please suggest so that i could get away from this issue.

my code is below:

string stringFromNSString(NSString *inNSString)

{

return [inNSString UTF8String];

}

© Stack Overflow or respective owner

Related posts about objective-c++