I would like to retrieve JSON data from a website, but the user would be able to enter a URL. I tried using
NSURL * url = [NSURL URLWithString:getDataURL];
and to define getDataURL
I used
#define getDataURL @"http://..."
This works but I can't change the URL. Is their a way to do what I need ?