Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 7, 2012, 04:58 PM   #1
raymondu999
macrumors 6502a
 
Join Date: Feb 2008
Help needed - displaying JSON in charts/graphs

Hey folks.

Anyone here with good JSON experience in Xcode?

I've tried a few tutorials, and I can get them to work, but I'm struggling to really convert the practice to my own stuff.

The thing is I've got a webservice which returns JSON, and I'm really struggling to call and display the output.

For example here's one of the data sets I can call: http://182.50.143.15/charting?type=b...singapore,food

I can't seem to figure out how to call it and display it in a text label, let alone in a chart (which is my ultimate goal). I'd love it if anyone can help me in terms of how to plot it into graphs/charts, but at this point I'd be thankful for even just a simple text label being able to display the JSON data first.

Also does anyone know a good library/framework to use for displaying JSON data in a chart/graph/etc? Thanks.
__________________
iPhone 4S 64GB black
iBasso DX100+ES3x
15" 2.6GHz Core i7 Retina MBP

Last edited by raymondu999; Nov 7, 2012 at 05:03 PM.
raymondu999 is offline   0 Reply With Quote
Old Nov 7, 2012, 06:35 PM   #2
dejo
Demi-God (Moderator)
 
dejo's Avatar
 
Join Date: Sep 2004
Location: Colorado
Do you know about the NSJSONSerialization class?
__________________
My iOS Apps: a.k.a., DreamStream
I support the MacRumors Blood Drive!
dejo is offline   0 Reply With Quote
Old Nov 11, 2012, 01:42 PM   #3
raymondu999
Thread Starter
macrumors 6502a
 
Join Date: Feb 2008
Can't say I do...
__________________
iPhone 4S 64GB black
iBasso DX100+ES3x
15" 2.6GHz Core i7 Retina MBP
raymondu999 is offline   0 Reply With Quote
Old Nov 12, 2012, 09:12 AM   #4
dejo
Demi-God (Moderator)
 
dejo's Avatar
 
Join Date: Sep 2004
Location: Colorado
Quote:
Originally Posted by raymondu999 View Post
Can't say I do...
Well, it'll definitely help you to convert your JSON into arrays / dictionaries for your code to use.

P.S. You said you've tried a few tutorials on JSON. Which ones? (URLS, please, if possible). When referencing third-party resources, it's courteous to provide as much detail about the resources as possible.
__________________
My iOS Apps: a.k.a., DreamStream
I support the MacRumors Blood Drive!
dejo is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT -5. The time now is 04:45 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC