New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

xcode and array help


Post Reply New Thread Subscribe

 
Thread Tools
thekid2

 
Member Since: Oct 11, 2013
Posts: 1
thekid2 is on a distinguished road

thekid2 is offline
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 Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,510
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

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

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks

Post Reply New Thread Subscribe


« Compare OS X command line to Linux command line? | creating a text file »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Size of Arrays wvtrammell OS X - Development and Darwin 5 03-19-2013 10:51 PM
Debugging C programs in XCode Wimsey OS X - Development and Darwin 0 02-02-2011 11:02 PM
Xcode debugging question skiabox OS X - Development and Darwin 0 11-07-2010 04:44 PM
xcode stream problem mitchell OS X - Development and Darwin 0 07-09-2008 05:02 AM
XCode Noob MacGuy18 OS X - Development and Darwin 0 04-02-2008 10:03 PM

All times are GMT -4. The time now is 08:31 AM.

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

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?