Is it possible to load a UITableView with a database in CSV format? Or is there an easy way to convert this to a .plist first or something similar? Any advice would be helpful. Thanks.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
And if you want to know how to read a CSV file, I've written a library to do that:
https://github.com/davedelong/CHCSVParser
Please remember that using it means you must abide by the license under which the code is made available.
回答2:
You can load UITableView using any sort of data you want. Just create a datasource that implements UITableViewDataSource.
This documentation is also helpful: Table View Programming Guide for iOS