Files
libid3-ios/Example/LIViewController.m
Rakuraku Jyo 47e982ffc5 add example
2012-01-25 17:30:35 +09:00

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