QLPreviewPanel in tableview with issue: “has no controller”
问题 I would like to display the urls from a table view in a QLPreviewPanel but i got this error: [QL] QLError(): -[QLPreviewPanel reloadData] called while the panel has no controller - Fix this or this will raise soon. My table controller already conform to this two protocols : QLPreviewPanelDataSource, QLPreviewPanelDelegate. How can i set the controller of [QLPreviewPanel sharedPreviewPanel] as my table controller? - (void)didPressSpacebarForTableView:(NSTableView *)tableView { NSLog(@"Spacebar