forked from LabPLC/DejateCaer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DescubreViewController.m
51 lines (39 loc) · 1.21 KB
/
DescubreViewController.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// DescubreViewController.m
// DejateCaer
//
// Created by Carlos Castellanos on 19/03/14.
// Copyright (c) 2014 Carlos Castellanos. All rights reserved.
//
#import "DescubreViewController.h"
#import "SWRevealViewController.h"
@interface DescubreViewController ()
@end
@implementation DescubreViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];
self.title=@"Eventos";
// Change button color
_sidebarButton.tintColor = [UIColor colorWithWhite:0.1f alpha:0.9f];
// Set the side bar button action. When it's tapped, it'll show up the sidebar.
_sidebarButton.target = self.revealViewController;
_sidebarButton.action = @selector(revealToggle:);
// Set the gesture
[self.view addGestureRecognizer:self.revealViewController.panGestureRecognizer];
// Do any additional setup after loading the view.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end