Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with storyboards [Fixed in development branch] #1

Open
flatplanetpl opened this issue Jul 19, 2013 · 3 comments
Open

How to use with storyboards [Fixed in development branch] #1

flatplanetpl opened this issue Jul 19, 2013 · 3 comments

Comments

@flatplanetpl
Copy link

Because I don't have any contact to you I decided to write issue.
I try to use this very good "SlideoutNavigation" in storyboard.
In storyboard i made 3 controllers:

  1. to contain window and derive from SlideoutNavigationController
  2. Menu (Tableviewcontroller)
  3. Dashboard (viewcontroller)

In constructor custom class (extends from SlideoutNavigationController)
is wrote this code:

var menu= Storyboard.InstantiateViewController ("slidemenu") as UIViewController;
var dashboard=Storyboard.InstantiateViewController ("dashboard") as UIViewController;
this.MenuView = menu;
this.TopView = dashboard;

but exception occurred in this line: this.MenuView = menu;.

Have you better idea how to use SlideoutNavigation with storyboard.

Thanks for help!
Damian
damian@flatplanet.pl

@flatplanetpl
Copy link
Author

ok.. for now menu working with small change!

Because story board instantiate viewcontrollers with IntPtr constructor I move code from parameterless constructor to IntPtr (IntPtr handle)

and now menu works!

@thedillonb
Copy link
Owner

@flatplanetpl Outstanding! Very well done.

This was referenced Jul 21, 2013
@twanwv
Copy link

twanwv commented Jul 25, 2013

Storyboard support now available in the development branch, mind you, landscape mode is not functioning correctly and should be fixed either by fixing it yourself or waiting for the next update on the development branch.

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

No branches or pull requests

3 participants