How can I show array count minus array count? I have two arrays like this:
var likedBy = [NSArray]()
var dislikedBy = [NSArray]()
And I am trying to get the count as a string on UITextLabel like this:
imageCell.likeLabel.text = self.likedBy.count - self.dislikedBy.count
But I get error:
No "-" candidates produce the expected contextual result type "String?"
Any suggestions?