2
// JigsawViewControllr.m
5
// Created by döme on 02.08.2009.
6
// Copyright 2009 __MyCompanyName__. All rights reserved.
9
#import "JigsawViewController.h"
11
#import "ElAnimation.h"
14
@implementation JigsawViewController
17
// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
18
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
19
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
20
// Custom initialization
27
// Implement loadView to create a view hierarchy programmatically, without using a nib.
33
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
40
// Override to allow orientations other than the default portrait orientation.
41
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
42
// Return YES for supported orientations
43
return (interfaceOrientation == UIInterfaceOrientationPortrait);
47
- (void)didReceiveMemoryWarning {
48
// Releases the view if it doesn't have a superview.
49
[super didReceiveMemoryWarning];
51
// Release any cached data, images, etc that aren't in use.
54
- (void)viewDidUnload {
55
// Release any retained subviews of the main view.
56
// e.g. self.myOutlet = nil;
64
- (void) setAnimationInterval: (NSTimeInterval) interval
66
// [jigView setAnimationInterval: interval];
69
- (void) generateJigsaw
72
[jigView generateJigsaw];