I have a fixed data which will be used in a UITableView later and the user will not update/add on this data.
This data looks like a table with 4 column:
Name (String) | Tel (INT) | Logo (URL) | PDF File (URL)
The UITableView will be fill with this data and if the user select a row he will navigate to another pages which show the PDF file.
The question is should I use the core data or Array, if the answer is Array how can I have column in the Array?
Thanx,
You can easily use an array with a NSDictionary inside. Both structures might be mutable and you can use the dictionary to simulate what you call columns.
Example:
I’d not go for coredata
In your didSelectRowAtIndexPath you’ll select your data like this: