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 65816
 
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 5 64GB black
iPad Air Wifi+3G 64GB black
15" 2.6GHz Core i7 Retina MBP
11" 1.3GHz Core i5 2013 MBA

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
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
Do you know about the NSJSONSerialization class?
__________________
dejo is offline   0 Reply With Quote
Old Nov 11, 2012, 01:42 PM   #3
raymondu999
Thread Starter
macrumors 65816
 
Join Date: Feb 2008
Can't say I do...
__________________
iPhone 5 64GB black
iPad Air Wifi+3G 64GB black
15" 2.6GHz Core i7 Retina MBP
11" 1.3GHz Core i5 2013 MBA
raymondu999 is offline   0 Reply With Quote
Old Nov 12, 2012, 09:12 AM   #4
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
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.
__________________
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

Similar Threads
thread Thread Starter Forum Replies Last Post
Are you able to make charts/graphs in Numbers beta? MauerFan Mac Applications and Mac App Store 9 Sep 20, 2013 11:33 AM
Charts & Graphs: Best Software? JoeRito Mac Applications and Mac App Store 3 Dec 25, 2012 09:32 PM
Resolved: Need help: UIPIckerView and JSON lasash iPhone/iPad Programming 13 Sep 30, 2012 10:13 AM
JSON and NSDictionary mngoose iPhone/iPad Programming 6 Jun 7, 2012 08:33 AM

Forum Jump

All times are GMT -5. The time now is 09:59 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC