I am trying to convert const char * to NSString * and then convert it back. It works, but I get:
__NSAutoreleaseNoPool(): Object 0x100550a40 of class NSCFArray autoreleased with no pool in place - just leaking __NSAutoreleaseNoPool(): Object 0x100551730 of class NSCFString autoreleased with no pool in place - just leaking __NSAutoreleaseNoPool(): Object 0x100551f10 of class NSCFData autoreleased with no pool in place - just leaking
The code:
const char* convert = "hello remove this: *"; NSString *input = [[NSString alloc] initWithUTF8String:convert];
I'm lost, please help me.
source share