Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-08-2012, 12:38 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 45
tuckermax72 is on a distinguished road
Post How To download an array from internet, save it, and then read it somewhere else.

Right now I am using an array like this:
Code:
NSString *exampleStrings[100];
exampleStrings[0]=@"";
exampleStrings[1]=@"";
...
...

NSArray *exampleStringsArray = [NSArray arrayWithObjects:exampleStrings count:100];
I am trying to download an array from the internet and save it to a file to be read in place of creating a static array like this so that I can update it by changing it on the web, but I dont know how to do this.
How can I download an array from the web, and then also save and read it later? I have a web site to put it on.
tuckermax72 is offline   Reply With Quote
Old 01-08-2012, 01:00 PM   #2 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default

Quote:
Originally Posted by tuckermax72 View Post
Right now I am using an array like this:
Code:
NSString *exampleStrings[100];
exampleStrings[0]=@"";
exampleStrings[1]=@"";
...
...

NSArray *exampleStringsArray = [NSArray arrayWithObjects:exampleStrings count:100];
I am trying to download an array from the internet and save it to a file to be read in place of creating a static array like this so that I can update it by changing it on the web, but I dont know how to do this.
How can I download an array from the web, and then also save and read it later? I have a web site to put it on.
Its best to encode the array in a standard internet format like xml or json and decode it back into a dictionary or array on the receiving side.
__________________
Help us build great applications or let us make your applications exceptional. find us on Facebook
michelle is offline   Reply With Quote
Reply

Bookmarks

Tags
array, download array, read array, save, save array

Thread Tools
Display Modes

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 On



» Advertisements
» Online Users: 394
10 members and 384 guests
Atatator, buggen, guusleijsten, j.b.rajesh@gmail.com, morterbaher, QuantumDoja, sacha1996, Sami Gh, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,122
Posts: 402,907
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0