How do I get the item value from the cole below?
let pointInTable: CGPoint = sender.convertPoint(sender.bounds.origin, toView: self.collectionView)
let cellIndexPath = self.collectionView?.indexPathForItemAtPoint(pointInTable)
println(cellIndexPath)
I am currently shown this but need the integer value.
Optional(<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 1})