Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   xcode and array help (http://www.mac-forums.com/forums/os-x-development-darwin/304242-xcode-array-help.html)

thekid2 10-11-2013 01:48 PM

xcode and array help
 
How do I read in a .csv file and output what is on the .csv file to xcode?

my .csv looks like this

City,Country,Latitude,Longitude
Aberdeen, Scotland,57.15,-2.15
Adelaide, Australia,-34.91666667,138.6
Algiers, Algeria,36.83333333,3
Amsterdam, Netherlands,52.36666667,4.883333333
Ankara, Turkey,39.91666667,32.91666667
....

I need to push it into a NSString and array it to output the city by name.

Raz0rEdge 10-11-2013 02:49 PM

One article and one package to help you on your way..


All times are GMT -4. The time now is 12:44 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.