dekatotoro / dekatotoro/SlideMenuControllerSwift

Pass data to MainViewController from MenuViewController

Open
#148 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.4k
Forks
742
PR merge metrics
No merged PRs in 30d

Description

How can I pass to the MainViewController (in my app) which menu was selected. With the current architecture that can be found in the example the app would throw "Could not cast value of type 'UINavigationController' to 'UIViewController"

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the example's MenuViewController and MainViewController flow first, then reproduce the reported UINavigationController-to-UIViewController cast error. Determine how the selected menu is passed to MainViewController, and consider the issue done when the selected menu reaches the destination without the cast failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.