dekatotoro / dekatotoro/SlideMenuControllerSwift
Is it possible to make an existing viewController as MainVC and just add leftVC to it ?
- Dominant language
- Swift
- Stars
- 3.4k
- Forks
- 742
- PR merge metrics
- No merged PRs in 30d
Description
I have a situation where my project is a lot under way and all the storyboard structures are built and connected. I just need to add this one left menu on each of the screens / VCs.
Ideally I would like to create a leftMenuVC, add it to the storyboard.
Then make each of my View controllers already in the storyboard inherit from SlideMenuController.
Then do
self.mainViewController = self
self.leftViewController = leftMenuVC
This does nt seem possible now. Or is there a way around ?
Currently I will have to change my whole storyboard structure by adding new slideMenuController subclasses in place of the existing VCs and then adding the existing ones as MainVCs. Can clarify further if required.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the existing SlideMenuController integration and the storyboard structure described in the issue, focusing on how mainViewController and leftViewController are assigned. A complete answer would establish whether existing view controllers can be used directly and document or implement a supported migration path without rebuilding each storyboard structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100