English 中文(简体)
• 如何在单独的可上网查阅上展示一名JSON的档案内容?
原标题:How to display contents of a JSON file on separate UITableviews?

我有这份JSON案(K区,正如我在此描述的那样,问题正在显示内容),我需要用单独的可调意见表明:

{
   "Programs": [

      {"link1": "http://www.myWebSite1.aspx",
       "program name": "Live Show at 9",
       "speaker": "Dr. Speaker 1"
       "day1": "Sunday"
       "day2": "Monday"
       "day3": "Tuesday"},

      {"link2": "http://www.myWebSite2.aspx",
       "name": "Dr. Speaker 2",
       "speaker": "Live Show at 10"
       "day1": "Sunday"
       "day2": "Monday"
       "day3": "Tuesday"
       "day4": "Wednesday"}
   ]
}

用户将根据program/speaker作出第一次选择,然后用第二次可读写的电文,介绍他选择的一周日。 因此,第2号电文将显示day1,第2天,第3天等的内容。

我怎么能够作这样的区分,并附上这名JSON案的内容? 谢谢!

最佳回答

You need to declare jsonArray of NSDictionary in new UITableView Controller class and then synthesize it. Fill up that array and new UITableView pass this array in cellForRowAtIndexPath. For more details go through the link (for just idea)

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签