You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
Hello first of all thanks for this project. I am trying to integrate this into my Objective C project using swift extensions as you mentioned in some other issue. But Panel Delegate is not being called.
here is the method I am calling in my Objective C class
Now I am using an extension to call the Panel Kit methods for PanelManager and PanelControlDelegate
extension CanvasViewController : PanelManager{
public var panels: [PanelViewController] {
let mapPanelVC = PanelViewController(with: self.webBroserVc, in: self)
return [mapPanelVC]
}
public var panelContentWrapperView: UIView {
return self.view
}
public var panelContentView: UIView {
return scrollViewContainer
}
}
extension WebBrowserViewController : PanelContentDelegate {
public var preferredPanelContentSize: CGSize {
return CGSize(width: 320, height: 500)
}
public var maximumPanelContentSize: CGSize {
return CGSize(width: 512, height: 600)
}
public var preferredPanelPinnedWidth: CGFloat {
return 500
}
But the PanelContentDelegate is not being called, can you please tell me what I am doing wrong @louisdh
The text was updated successfully, but these errors were encountered:
Hello first of all thanks for this project. I am trying to integrate this into my Objective C project using swift extensions as you mentioned in some other issue. But Panel Delegate is not being called.
here is the method I am calling in my Objective C class
Now I am using an extension to call the Panel Kit methods for PanelManager and PanelControlDelegate
}
extension WebBrowserViewController : PanelContentDelegate {
public var preferredPanelContentSize: CGSize {
return CGSize(width: 320, height: 500)
}
But the PanelContentDelegate is not being called, can you please tell me what I am doing wrong @louisdh
The text was updated successfully, but these errors were encountered: