I have got an NSMutableArray declared like as:
var operatingDays = NSMutableArray()
And next i am appending the objects into the array like this :
for operatingDays in forecast.operatingDays! {
print(operatingDays.days)
print(operatingDays.times)
self.operatingDays.add(operatingDays.days)
}
So the operating days array now contains arrays.
Now i want to convert each array to string separated with a space and to show it to the UITableViewCell. For this i am using the code at cellForRowAtIndexPath like this:
cell.operationalDays.text = (operatingDays[indexPath.row] as AnyObject).joined(separator: " ")
But it shows the error :


joined?