-1
votes
0answers
59 views

How can I get JSON data in steps from a web service which return all data at once? [on hold]

I am accessing a web service which returns me a JSON response. I want to load for example say first 10 values only and show them in tableview and when user clicks on show more further 10 more entries ...
0
votes
1answer
64 views

create a json string from NSArray

In my iPhone aplication I have a list of custom objects. I need to create a json string from them. How I can implement this with SBJSON or iPhone sdk? NSArray* eventsForUpload = ...
-2
votes
2answers
56 views

Json Boolean value expression issue

My Response: (JSON) NSString *responseString = [[NSString alloc] initWithData:responseData4 encoding:NSUTF8StringEncoding]; NSLog(@"responseString... %@",responseString); ...
0
votes
1answer
34 views

Json parsing nil field in objective-c

I have a problem with mapping a JSON to a foundation object... Is there any way to put a "nil" value to a class member variable when the JSON string doesn't contain that key? Ex, here's my DataModel ...
0
votes
1answer
45 views

JSON Object with same Key

How can I get the first "hls" from this json. My source code is searching for value for hls and displaying it. But it gets the second "hls"... JSON Data is: { "mbsServer": { "version": 1, ...
-3
votes
1answer
53 views

Parsing Images using Json ? [on hold]

I'm having an issue passing Images to my detail view. I can pass the recipe title, but not the images. I'm not sure what I'm missing or if I'm passing it incorrectly here is my code. - ...
-2
votes
0answers
24 views

PHP Array to JSON to Objective C [on hold]

I've a php script that return a jsonencode array! I want to transform this array in a NSArray in Obj-C, but I can't to do it! I've tried many way to do this, but I can't. The json array is similar to ...
0
votes
2answers
53 views

Objective-C JSON Data

I am a new iOS Developer, who has a big app to write. First we have a server where is the jason. I have to get data from that server and parse it. And display the data in various places on display ...
-4
votes
1answer
30 views

retreive JSON data from a website using a string instead of a URL [on hold]

I would like to retrieve JSON data from a website, but the user would be able to enter a URL. I tried using NSURL * url = [NSURL URLWithString:getDataURL]; and to define getDataURL I used ...
-2
votes
2answers
35 views

Downloading images and captions with JSON in xcode

I have googled this numerous times, with lots of different phrasing, but nothing seems to have exactly what I am after. What I want to do is to download images and captions into a NSArray with JSON. ...
0
votes
0answers
25 views

NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set

I continue to get this error when I try to deserialize the JSON code that is printed out in the web service. This is what is being printed out in php: ...
43
votes
7answers
27k views

JSON or SOAP (XML)?

I'm developing a new application for the company. The application have to exchange data from and to iPhone. Company server side uses .NET framework. For example: the class "Customer" (Name, Address ...
0
votes
1answer
48 views

Creating a route with JSON data given user input

I am looking to use JSON data to create a route using the Google Maps API and extract JSON data that will be displayed onto a text field that includes "distance" and "duration". I would like to have ...
-5
votes
0answers
38 views

How i can add my current latitude and longitude values to my url and display in UITableView [closed]

- (void)viewDidLoad { viewObj=[[ViewController alloc] initWithNibName:nil bundle:nil]; locationManager=[[CLLocationManager alloc] init]; //geocoder=[[CLGeocoder alloc] init]; ...
-2
votes
2answers
53 views

JSON to NSMutableArray with AFNetworking [duplicate]

I have a webpage with the code in JSON: [ {"url":"event.com","name":"Event name","event":"Event"}, {"url":"event.com","name":"Event name 2","event":"Event"}, ...

1 2 3 4 5 88
15 30 50 per page