How to use the Response from PHP in Objective-C?

Posted by iMohammad on Stack Overflow See other posts from Stack Overflow or by iMohammad
Published on 2012-12-18T11:01:27Z Indexed on 2012/12/18 11:03 UTC
Read the original article Hit count: 220

Filed under:
|
|

I've managed to post and get datas from PHP thru objective-c. However, the response from the server looks like the following:

["ARC101","ARC112","ARC124","ARC203","ARC222","ARC251","ARC281","ARC305","ARC314","ARC344","ARC353","ARC363","ARC408","ARC416","ARC426","ARC482"]

And, some responses could be more complicated like the following:

[{"Code":"ARC101","Title":"Design Studio-I: Design Princi","Instructor":"Mike Cohen","Activity":"LAB","Days":"MW","Room":"B01","Bldg":"19","Section":"1","StartTime":"1310","EndTime":"1550","CallNo":"20438","Priority":null,"Open":"Open","HasAct":false,"CodeAct":null,"TitleAct":null,"InstructorAct":null]

What would be your suggestion if I want to play with these datas? for example, putting them on a table ,etc.

Thanks in Advance!

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about ios