Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Reset SideViewController #147

Open
michaelcordero opened this issue Apr 9, 2018 · 0 comments
Open

Reset SideViewController #147

michaelcordero opened this issue Apr 9, 2018 · 0 comments

Comments

@michaelcordero
Copy link

michaelcordero commented Apr 9, 2018

Presently in SideMenuController.swift, public func embed (sideViewController controller: UIViewController) { if sideViewController == nil { logic... } }
only allows you to add a SideViewController once. My application has a need for resetting the sideViewController to a new instance. Taking away this if condition would solve the problem. Another work around would be to allow the users to set sideViewController = nil, but it has fileprivate(set) access.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant