GitXplorerGitXplorer
C

FlyoutNavigation

public
95 stars
87 forks
8 issues

Commits

List of commits on branch master.
Unverified
507347da189ee7b0174ca4df4c65b4739da07ef0

Merge branch 'dialog'

CClancey committed 8 years ago
Unverified
6c2b55f2a17c7d2c5d6920742474d1f0914091ef

Merge branch 'master' into dialog

CClancey committed 8 years ago
Unverified
b5b61dde9385ca95fb349d81395076ca1c7bc7df

Fixes #84

CClancey committed 8 years ago
Unverified
a1f8dcde594108d3be283fd8890ebdcab1052d10

Build IPA on device build

CClancey committed 8 years ago
Unverified
7c74cf37918da3de9c18867c18f11de51e5cfcbf

Added UITests

CClancey committed 8 years ago
Unverified
9a333d868895057e7554d9fff57072d80ed41c96

Changed the main solution to be the unified

CClancey committed 8 years ago

README

The README file for this repository.

The FlyoutNavigationController presents a simple navigation view that appears to slide out from underneath a main view, allowing you to navigate among a list of view controllers. The same view also functions as a UISplitViewController on the iPad.

using FlyoutNavigation;
using MonoTouch.Dialog;
...
public override void ViewDidLoad ()
{
	base.ViewDidLoad ();
	var navigation = new FlyoutNavigationController {
		// Create the navigation menu
		NavigationRoot = new RootElement ("Navigation") {
			new Section ("Pages") {
				new StringElement ("Animals"),
				new StringElement ("Vegetables"),
				new StringElement ("Minerals"),
			}
		},
		// Supply view controllers corresponding to menu items:
		ViewControllers = new [] {
			new UIViewController { View = new UILabel { Text = "Animals (drag right)" } },
			new UIViewController { View = new UILabel { Text = "Vegetables (drag right)" } },
			new UIViewController { View = new UILabel { Text = "Minerals (drag right)" } },
		},
	};
	// Specify navigation position
	navigation.Position = FlyOutNavigationPosition.Left;
	// Show the navigation view
	navigation.ToggleMenu ();
	View.AddSubview (navigation.View);
}