GuillotineMenu-Yalantis-ObjC

by taglia3

This is the Objective-C Version of GuillotineMenu made by Yalantis https://github.com/Yalantis/Guill...

122 Stars 31 Forks Last release: Not found 33 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

GuillotineMenu Yalantis objc Version

Build Status

This is the Objective-C Version of GuillotineMenu made by Yalantis https://github.com/Yalantis/GuillotineMenu

Preview

Usage

The easiest way to use this cool menu is to instantiate the

TGLGuillotineMenu
in your
AppDelegate
and, then make it the
rootController
of a
UINavigationController
instance.
TGLTableViewController *vc01 = [[TGLTableViewController alloc] init];
TGLSampleViewController *vc02 = [[TGLSampleViewController alloc] init];
TGLTableViewController *vc03 = [[TGLTableViewController alloc] init];
TGLSampleViewController *vc04 = [[TGLSampleViewController alloc] init];

NSArray *vcArray = [[NSArray alloc] initWithObjects:vc01, vc02, vc03, vc04, nil]; NSArray *titlesArray = [[NSArray alloc] initWithObjects:@"PROFILE", @"FEED", @"ACTIVITY", @"SETTINGS", nil]; NSArray *imagesArray = [[NSArray alloc] initWithObjects:@"ic_profile", @"ic_feed", @"ic_activity", @"ic_settings", nil];

TGLGuillotineMenu *menuVC = [[TGLGuillotineMenu alloc] initWithViewControllers:vcArray MenuTitles:titlesArray andImagesTitles:imagesArray]; menuVC.delegate = self; menuVC.menuButtonImageTitle = @"menuIcon";

UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:menuVC];

Installation

Manual installation. Just copy GuillotineMenu folder to your project. Will be available on cocoapods soon.

Note

This is my first attempt to make a simple Objective-C version of Yalantis control. From now I will update this control to make this an awesome iOS menu. Feel free to contribute!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.