ich ein swiftyJSON Objekt, das wie zum Beispiel aussieht:Wie kombinieren zwei SwiftyJSON Objekte
[{
"location" : "http://...",
"img" : "http://...",
"commentCount" : 0,
"timestamp" : 1432460217550,
}]
Ich möchte eine andere swiftyJSON Objekt, um es anzufügen können, so dass es wie folgt aussieht:
[{
"location" : "http://...",
"img" : "http://...",
"commentCount" : 0,
"timestamp" : 1432460217550,
},
{
"location" : "http://...",
"img" : "http://...",
"commentCount" : 1,
"timestamp" : 1432460217571,
}
]
Ich kann +=
oder .append
auf SwiftyJSON Objekte nicht verwenden. Wie kann ich das machen?