douxunchen3498 2017-03-18 16:35
浏览 63

将parseJSON数据导入uitableviewcell

I want to populate array of data from mysql table into uitableviewcelll. When I tried I got only first row of values, I am not getting other rows of data who will match the condition.

let json = try JSONSerialization.jsonObject(with: data!, options: []) as? NSDictionary
print(json as Any)

here json is printing only one row values.

Optional({
Saturday = 1;
friday = 1;
message = "following Students are assigned to Teacher";
monday = 1;
perday = 1;
pid = 101;
status = 1;
sunday = 1;
thursday = 1;
tuesday = 1;
wednesday = 1;

})

I have next pid 104 , 106 Students in table.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作