Can't seem to print the string value of a touch phase have tried this:
let phase = NSTouch.Phase(rawValue: touch.phase.rawValue)
print(phase)
let touches = event.touches(matching: NSTouch.Phase.ended, in: self.view)
touches.forEach { (touch) in
print(" touch up \(touch.phase)")
}
Output I get is this
Phase(rawValue: 8)
﹣ touch up Phase(rawValue: 8)