1

I have referred to both of these and others on this issue and wasn't able to resolve my problem following their steps. I don't have enough "points" to comment on them so I'm asking my question here.

using unwindToSegue on a UIButton works, but not on a UITableViewCell

I have my unwindToSegue() function in my MainView controller, and I have a SubViewController that has a view and a table inside of it's view.

I've tried control dragging from Cell to exit and using both the Selection Segue and Accessory Segue.

perform segue with UITableview inside a tableviewcell

Unwind Segue with UITableViewCell in Xamarin.iOS

Link to this test project https://github.com/zgmorris13/swiftMenuSystem

Community
  • 1
  • 1
Zach Morris
  • 367
  • 1
  • 4
  • 12

1 Answers1

0
//self.tableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: "scriptureCell")

Just remove this.Everything is OK. These explain why:

tableviewdequeuereusablecellwithidentifier-issues-with-global-constant

matt's answer to uitableview-in-swift

James Wang's answer to Assertion failure in dequeueReusableCellWithIdentifier:forIndexPath:

Community
  • 1
  • 1
NSDeveloper
  • 1,630
  • 15
  • 25