I am trying to programmatically select a cell in a tableview. I get a SIGABORT error when hitting the selectRowAtIndexPath. myIndex has a value of 1. I am calling this from a viewController that has implemented the required tableview delegate and datasource methods.
override func viewDidAppear(animated: Bool) {
if myIndex != nil {
self.myTableView.selectRowAtIndexPath(NSIndexPath(index: myIndex), animated: false, scrollPosition: UITableViewScrollPosition.Middle)
}
}