Closed bradenboothby closed 5 years ago
I found a solution for that:
first write this line: let detailVC = storyboard?.instantiateViewController(withIdentifier: "CardContent")
then this one instead of the detailView: card.shouldPresent(detailVC, from: self)
This worked for me. Hope it helps.
Al is right. detailView is a property of the ViewController managed by the Card class. Both are not accessible directly anyway, you should use card.shouldPresent(.class, from: self) to set you view controller.
Hi @PaoloCuscela thanks for the awesome library!
Just a friendly suggestion here, you may update the wiki because in it card.detailView = detailVC?.view
is still used and the content there seems not up to date.
Thanks!
Does anyone know how to fix this error?