ios - How to parse csv file into table view in Iphone? -


i want parse csv file table view in iphone.

i have csv file latitude , longtitude , date in following format.

-37.6704090666667;144.852821866667;2010-07-12 09:34:18 -37.6784624166667;144.867258566667;2010-07-12 09:35:18 -37.6886946666667;144.880478666667;2010-07-12 09:36:18 -37.71000224;144.89458948;2010-07-12 09:37:22 

i put above data in table latitude , longtitude in bold separated comma , date below in smaller lighter font. on clicking taking map pointer. know how know how put data in csv file in table view. , once put data table view, know how check invalid coordinates in entire csv file ?

you can use wonderful library csv parsing

https://github.com/davedelong/chcsvparser

try it. simple

for coordiane validation, can include checking. latitude ranges in between -90 +90. longitude lies between -180 +180. include simple validation this


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -