cocoaTouch/SchemeEditViewController.m
changeset 3305 91074496d5c9
parent 3304 8690a3aa93b5
child 3306 fcdf6d85b042
equal deleted inserted replaced
3304:8690a3aa93b5 3305:91074496d5c9
     1 //
       
     2 //  SchemeEditViewController.m
       
     3 //  hwengine
       
     4 //
       
     5 //  Created by Vittorio on 08/01/10.
       
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
       
     7 //
       
     8 
       
     9 #import "SchemeEditViewController.h"
       
    10 
       
    11 
       
    12 @implementation SchemeEditViewController
       
    13 @synthesize cell0, table;
       
    14 /*
       
    15  // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
       
    16 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
       
    17     if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
       
    18         // Custom initialization
       
    19     }
       
    20     return self;
       
    21 }
       
    22 */
       
    23 
       
    24 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
       
    25 - (void)viewDidLoad {
       
    26 	table.backgroundColor = [UIColor clearColor];
       
    27     [super viewDidLoad];
       
    28 }
       
    29 
       
    30 // Override to allow orientations other than the default portrait orientation.
       
    31 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
       
    32     // Return YES for supported orientations
       
    33     return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
       
    34 }
       
    35 
       
    36 - (void)didReceiveMemoryWarning {
       
    37 	// Releases the view if it doesn't have a superview.
       
    38     [super didReceiveMemoryWarning];
       
    39 	
       
    40 	// Release any cached data, images, etc that aren't in use.
       
    41 }
       
    42 
       
    43 - (void)viewDidUnload {
       
    44 	// Release any retained subviews of the main view.
       
    45 	// e.g. self.myOutlet = nil;
       
    46 }
       
    47 
       
    48 
       
    49 - (void)dealloc {
       
    50     [super dealloc];
       
    51 }
       
    52 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
       
    53 
       
    54  
       
    55 
       
    56 
       
    57         return cell0;
       
    58 
       
    59 
       
    60 
       
    61 
       
    62 }
       
    63 -(NSInteger) numberOfSectionsInTableView:(UITableView *)tableView{
       
    64 	return 1;
       
    65 }
       
    66 
       
    67 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
       
    68 	return 1;
       
    69 }
       
    70 
       
    71 @end