Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
xcode and array help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="thekid2" data-source="post: 1542403" data-attributes="member: 312580"><p>How do I read in a .csv file and output what is on the .csv file to xcode?</p><p></p><p>my .csv looks like this</p><p></p><p>City,Country,Latitude,Longitude</p><p>Aberdeen, Scotland,57.15,-2.15</p><p>Adelaide, Australia,-34.91666667,138.6</p><p>Algiers, Algeria,36.83333333,3</p><p>Amsterdam, Netherlands,52.36666667,4.883333333</p><p>Ankara, Turkey,39.91666667,32.91666667</p><p>....</p><p></p><p>I need to push it into a NSString and array it to output the city by name.</p></blockquote><p></p>
[QUOTE="thekid2, post: 1542403, member: 312580"] 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. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
xcode and array help
Top