73 lines
1.4 KiB
Objective-C
73 lines
1.4 KiB
Objective-C
//
|
|
// LIViewController.m
|
|
// Example
|
|
//
|
|
// Created by 徐 楽楽 on 12/01/25.
|
|
// Copyright (c) 2012年 ラクラクテクノロジーズ. All rights reserved.
|
|
//
|
|
|
|
#import "LIViewController.h"
|
|
#import "TagDemo.h"
|
|
|
|
@implementation LIViewController
|
|
|
|
- (void)didReceiveMemoryWarning
|
|
{
|
|
[super didReceiveMemoryWarning];
|
|
// Release any cached data, images, etc that aren't in use.
|
|
}
|
|
|
|
#pragma mark - Do demo
|
|
|
|
- (IBAction)demoTouched:(id)sender {
|
|
NSLog(@"Demo begin.");
|
|
|
|
TagDemo *demo = [[TagDemo alloc] init];
|
|
[demo demo];
|
|
|
|
NSLog(@"Demo end.");
|
|
}
|
|
|
|
#pragma mark - View lifecycle
|
|
|
|
- (void)viewDidLoad
|
|
{
|
|
[super viewDidLoad];
|
|
// Do any additional setup after loading the view, typically from a nib.
|
|
}
|
|
|
|
- (void)viewDidUnload
|
|
{
|
|
[super viewDidUnload];
|
|
// Release any retained subviews of the main view.
|
|
// e.g. self.myOutlet = nil;
|
|
}
|
|
|
|
- (void)viewWillAppear:(BOOL)animated
|
|
{
|
|
[super viewWillAppear:animated];
|
|
}
|
|
|
|
- (void)viewDidAppear:(BOOL)animated
|
|
{
|
|
[super viewDidAppear:animated];
|
|
}
|
|
|
|
- (void)viewWillDisappear:(BOOL)animated
|
|
{
|
|
[super viewWillDisappear:animated];
|
|
}
|
|
|
|
- (void)viewDidDisappear:(BOOL)animated
|
|
{
|
|
[super viewDidDisappear:animated];
|
|
}
|
|
|
|
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
|
{
|
|
// Return YES for supported orientations
|
|
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
|
|
}
|
|
|
|
@end
|