I got SourceKitService terminated when I implement this method:
override func touchesBegan(touches: NSSet!, withEvent event: UIEvent!)
if I remove the ! , it works. But then I got an error in my code of course. Full code:
override func touchesBegan(touches: NSSet!, withEvent event: UIEvent!) {
for touch: AnyObject in touches {
let location = touch.locationInNode(self)
if nodeAtPoint(location).name == "plane" {
println("plane touched")
}
}
}