Posts

Post marked as solved
1 Replies
95 Views
https://imdb-api.com/en/API/BoxOffice/k_92uqzcls i cast data like this :  let output = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as! Dictionary<String,Array<Dictionary<String, Any>>>//Array error: Could not cast value of type '__NSCFConstantString' (0x7fff869ca888) to 'NSArray' (0x7fff869ca8e8).
Posted
by ahmed2016.
Last updated
.