Ho un oggetto swiftyJSON che assomiglia ad esempio:Come combinare due oggetti SwiftyJSON
[{
"location" : "http://...",
"img" : "http://...",
"commentCount" : 0,
"timestamp" : 1432460217550,
}]
io voglio essere in grado di aggiungere un altro oggetto swiftyJSON ad esso in modo che sembra:
[{
"location" : "http://...",
"img" : "http://...",
"commentCount" : 0,
"timestamp" : 1432460217550,
},
{
"location" : "http://...",
"img" : "http://...",
"commentCount" : 1,
"timestamp" : 1432460217571,
}
]
Non riesco a utilizzare +=
o .append
su oggetti swiftyJSON. Come posso fare questo?