curtainViewController = TestSheetViewController()
curtainController = CurtainController(content: contentViewController!, curtain: curtainViewController!)
curtainController?.curtain.minHeightCoefficient = 0.0
curtainController?.curtain.midHeightCoefficient = 0.57
curtainController?.curtain.maxHeightCoefficient = 0.98
curtainController?.curtain.swipeResistance = .normal
curtainController?.curtain.movingDuration = 0.5
curtainController?.curtain.topBounce = true
curtainController?.curtain.bottomBounce = true
curtainController?.curtain.showsHandleIndicator = false
curtainController?.curtainDelegate = self
window.rootViewController = curtainController!
// TODO: How do we push updated content to the curtain view?
//let testVC = UIViewController()
//testVC.view.backgroundColor = UIColor.red
//self.appDelegate.curtainViewController = testVC
self.curtainController?.moveCurtain(to: .mid, animated: true)
And in another ViewController I am able to show the view, however what is good way to updating the curtainViewController? e.g. if I want to use a different VC.