57 lines
1.4 KiB
Mathematica
57 lines
1.4 KiB
Mathematica
![]() |
//
|
||
|
// CloudVMUViewController.m
|
||
|
// emulator
|
||
|
//
|
||
|
// Created by Karen Tsai on 2014/5/23.
|
||
|
// Copyright (c) 2014 Karen Tsai (angelXwind). All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "CloudVMUViewController.h"
|
||
|
#import "SWRevealViewController.h"
|
||
|
|
||
|
@interface CloudVMUViewController ()
|
||
|
|
||
|
@end
|
||
|
|
||
|
@implementation CloudVMUViewController
|
||
|
|
||
|
- (id)initWithStyle:(UITableViewStyle)style
|
||
|
{
|
||
|
self = [super initWithStyle:style];
|
||
|
if (self) {
|
||
|
// Custom initialization
|
||
|
}
|
||
|
return self;
|
||
|
}
|
||
|
|
||
|
- (void)viewDidLoad
|
||
|
{
|
||
|
[super viewDidLoad];
|
||
|
self.title = @"Cloud VMU";
|
||
|
|
||
|
// 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];
|
||
|
|
||
|
// Uncomment the following line to preserve selection between presentations.
|
||
|
// self.clearsSelectionOnViewWillAppear = NO;
|
||
|
|
||
|
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
|
||
|
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
|
||
|
}
|
||
|
|
||
|
- (void)didReceiveMemoryWarning
|
||
|
{
|
||
|
[super didReceiveMemoryWarning];
|
||
|
// Dispose of any resources that can be recreated.
|
||
|
}
|
||
|
|
||
|
#pragma mark - Table view data source
|
||
|
|
||
|
// TODO: write the rest of the view controller logic
|
||
|
|
||
|
@end
|