Curious as to why this is not working?
@IBOutlet weak var counterLabel: UILabel! <-- Outlet/var
let array : [Int] = [1,2,3]
self.counterLabel.text = array.capacity
I am getting the error below and I was wondering anybody knew how to fix this? I am trying to get the text label to display the number of objects in the array.
Cannot assign a value of type 'Int' to a value of type 'String?'