1
vote
0answers
11 views

iOS - Populate TableView with JSON data

I basically want to display JSON -data in a TableView. The TableView always displays a List ...
3
votes
1answer
95 views

Downloading and parsing data

I developed this class to download a JSON from a server, parse the result and call a delegate back on the class that called it. Since I am self started I want to know if this is a good practise. ...
3
votes
5answers
15k views

Turning JSON objects into custom NSObjects

Was advised to post this question here after posting to Stack Overflow. I'm pre-populating a UITableView app with data using a local JSON file. The JSON itself is very simple: ...
4
votes
1answer
909 views

Reading and Parsing JSON from a Game Server

This is my naive (but currently working) attempt at reading JSON commands from a Java game server in Objective-C. I am afraid I might be doing something wrong, so hopefully this question will be a ...
-1
votes
1answer
78 views

Making a webService file smaller [closed]

I'm developing an iOS app, and I have a file, WebService.m, that is now 2300 lines long. My file contains all the web service calls on my app, with their parsing if successful, like: ...
8
votes
1answer
28k views

Better way to fetch JSON data from a server from iOS app

I have successfully coded a network request to fetch JSON data from our server. The remote function is written in ColdFusion. However, the code is quite lengthy and involved. I also noticed in the API ...
4
votes
4answers
135 views

Array of Objects or Array of arrays? [closed]

I build phone apps and I use JSON a lot in my APIs. The problem is sometimes I don't know how to format the JSON data. For example, an iOS UITableView takes ...
2
votes
1answer
1k views

Pulling Objects & Values From Arbitrarily Nested JSON

I got tired of stringing together objectAtIndex: and objectForKey: and hoping nothing fails along the way. I parse a lot of JSON from sources like the Google Directions API and it was cluttering my ...
5
votes
1answer
1k views

Parsing NSDictionary from NSJSONSerialization

playerObject is an NSDictionary from JSONObjectWithData:options:error. I'm trying to update ...
1
vote
2answers
300 views

NSAutoreleasePool with Json Data

Just need to know if I'm doing something wrong in this code. my app seem work fast now with this code. I just want to if i really understant that ...