So I am trying to implement a sidebar overlaying my tableviewController, and am getting an error saying the class SideBar does not confirm to protocol delegate...not sure why?!
Error: Type 'SideBar' does not conform to protocol 'FellowTravelersTableViewControllerDelegate'
Thanks for all and any help!
(lldb) po nib
<UINib: 0x78ef8f20>
(lldb) po nib.instantiateWithOwner(self, options: nil)
error: Execution was interrupted, reason: breakpoint 1.1.
The process has been returned to the state before expression evaluation.
答案 0 :(得分:0)
在您的协议中,您已定义:
protocol FellowTravelersTableViewControllerDelegate {
func sidebarControllerDidSelectRow(indexPath:NSIndexPath)
}
您必须在func sidebarControllerDidSelectRow(indexPath:NSIndexPath)
课程中实施SideBar
才能实现此目的。