42 lines
701 B
Objective-C
Executable File
42 lines
701 B
Objective-C
Executable File
//
|
|
// HomeViewController.m
|
|
// SlideMenu
|
|
//
|
|
// Created by Aryan Gh on 4/24/13.
|
|
// Copyright (c) 2013 Aryan Ghassemi. All rights reserved.
|
|
//
|
|
|
|
#import "HomeViewController.h"
|
|
|
|
@implementation HomeViewController
|
|
|
|
- (void)viewDidLoad
|
|
{
|
|
[super viewDidLoad];
|
|
}
|
|
|
|
#pragma mark - SlideNavigationController Methods -
|
|
|
|
- (BOOL)slideNavigationControllerShouldDisplayLeftMenu
|
|
{
|
|
return YES;
|
|
}
|
|
|
|
- (BOOL)slideNavigationControllerShouldDisplayRightMenu
|
|
{
|
|
return YES;
|
|
}
|
|
|
|
#pragma mark - IBActions -
|
|
|
|
- (IBAction)bounceMenu:(id)sender
|
|
{
|
|
static Menu menu = MenuLeft;
|
|
|
|
[[SlideNavigationController sharedInstance] bounceMenu:menu withCompletion:nil];
|
|
|
|
menu = (menu == MenuLeft) ? MenuRight : MenuLeft;
|
|
}
|
|
|
|
@end
|