Ich habe eine API, die JSON zurückgibt:anzeigen Datentabelle von JSON in iPad App
{
"id": 1,
"name": "A green door",
"price": 12.50,
"tags": ["home", "green"]
}
{
"id": 2,
"name": "A blue door",
"price": 13.50,
"tags": ["work", "blue"]
}
In iPad app, ich brauche dieses Format in der folgenden Datentabelle anzuzeigen:
id name price tags
1 A green door 12.50 home, green
2 A blue door 13.50 work, blue
I habe folgendes versucht https://github.com/brightec/CustomCollectionViewLayout aber es funktioniert nicht.
Wie kann es gemacht werden?
https://www.cocoacontrols.com/search?q=table –