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 Jul 20, 2023. It is now read-only.
Using pod i installed this on my project Currently i have run this project on xcode 9 for swift 4.1 and i resolved few issues . but i found that this pod library is not updated as well as example project. Could you please update pod library file . i found this chunk of code is not updated for pod Embeds a new center controller.
- parameter centerViewController: controller to be embedded
- parameter cacheIdentifier: identifier for the view controllers cache
*/
public func embed(centerViewController controller: UIViewController, cacheIdentifier: String? = nil) {
guard controller !== centerViewController else {
if sidePanelVisible {
animate(toReveal: false)
}
return
}
if let id = cacheIdentifier {
controllersCache[id] = controller
}
addChildViewController(controller)
if let controller = controller as? UINavigationController {
prepare(centerControllerForContainment: controller)
}
centerPanel.addSubview(controller.view)
if centerViewController == nil {
centerViewController = controller
centerViewController.didMove(toParentViewController: self)
} else {
centerViewController.willMove(toParentViewController: nil)
let completion: () -> () = {
self.centerViewController.view.removeFromSuperview()
self.centerViewController.removeFromParentViewController()
controller.didMove(toParentViewController: self)
self.centerViewController = controller
}
if let animator = _preferences.animating.transitionAnimator {
animator.performTransition(forView: controller.view, completion: completion)
} else {
completion()
}
if sidePanelVisible {
animate(toReveal: false)
}
}
}
}
thanks . Please update this for pod
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using pod i installed this on my project Currently i have run this project on xcode 9 for swift 4.1 and i resolved few issues . but i found that this pod library is not updated as well as example project. Could you please update pod library file . i found this chunk of code is not updated for pod Embeds a new center controller.
}
thanks . Please update this for pod
The text was updated successfully, but these errors were encountered: