I am integrating some third party code into my app, and at the same time, trying to convert the app to ARC.
I'm attaching a screen shot to show the only two errors. If this is obvious to someone how to recode this section, I would be most grateful.

I have one more pita to solve. What's the most pragmatic way to solve this one:
value = (NSString *)CFURLCreateStringByReplacingPercentEscapesUsingEncoding(kCFAllocatorDefault,
(CFStringRef)value,
CFSTR(" "),
kCFStringEncodingUTF8);
This gives this error:
"Cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef' (aka 'const struct __CFString *') requires a bridged cast"
Thanks again.. I will lose this code asap...