I'd like to populate an NSArray for a Picker from my database. I'm using this code at the moment:
NSArray *arrayToLoadPicker = [[NSArray alloc] initWithObjects:@"Data1", @"Data2", @"Data3", nil];
I wrote a PHP script on my server and this code returns an array (this seemed the most logical way to deal with it, to me). How can I populate said NSArray with the elements given by the script? I use a MySQL database.
Thank you guys