I have a custom cell class and custom nib that contain the design for this cell. In my storyboard I donβt see a way to connect tableview as segue (as you have with prototype cells), I am there, since my cell is added via tableView:cellForRowAtIndexPath .
Is there a way to get this segue attachment so that I can continue to use the storyboard to connect the cell controller to the detail view?
Here is my code for tableView:cellForRowAtIndexPath :
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { var cell = tableView.dequeueReusableCellWithIdentifier("cell") as MyTableViewCell? if (cell == nil) { tableView.registerNib(UINib(nibName: "MyTableViewCell", bundle: NSBundle(identifier: "com.company.InterfaceComponents")), forCellReuseIdentifier: "cell") cell = tableView.dequeueReusableCellWithIdentifier("cell") as MyTableViewCell? } return cell! }
source share