override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "editinfo"{
let selecteditem: NSManagedObject = items[self.tableView.indexPathForSelectedRow!.row] as! NSManagedObject
let viewcon: addViewController = segue.destinationViewController as! addViewController
viewcon.usernameupdate = selecteditem.valueForKey("username") as! String
viewcon.emailupdate = selecteditem.valueForKey("email") as! String
viewcon.existeditem = selecteditem
}
i tried the following but always the segue trigered on single tap
let doubleTap = UITapGestureRecognizer(target: self, action: nil)
doubleTap.numberOfTapsRequired = 2
doubleTap.numberOfTouchesRequired = 1
cell.addGestureRecognizer(doubleTap)