I need help in retrieving a JSON object and parsing the array into my UIPickerView with 2 columns. One column is the data retrieve from JSON, the other column is hard coded.
Is there any sample codes for parsing the JSON into the UIPickerView column?
I need help in retrieving a JSON object and parsing the array into my
Share
I got you some code to get you started, but please keep in mind that:
It is not optimized code (for example the call you make to fetch your data is executed in the main thread. In case you need to fetch large amounts of data you must make asynchronous calls).
Its crucial to understand how the UIPickerView delegate & datasource is implemented.
I hope that this will get you on the right track…