我有一个带有 JSON 代码的网页:
[
{"url":"event.com","name":"Event name","event":"Event"},
{"url":"event.com","name":"Event name 2","event":"Event"},
{"url":"event.com","name":"Event name 3","event":"Event 3sw"}
]
我需要将这些数据存储在一个NSMutableArray
像这样的循环中:
[eventsArray addObject:[NSArray arrayWithObjects:url,name,event, nil]];
[eventsArray addObject:[NSArray arrayWithObjects:url,name,event, nil]];
[eventsArray addObject:[NSArray arrayWithObjects:url,name,event, nil]];
怎么可能,也许是 AFNetworking?