cocoaTouch/SchemeEditViewController.m
changeset 2701 3a8560c00f78
parent 2687 28b8330b8af1
child 3116 97dc65a47b15
equal deleted inserted replaced
2700:726e4a230b48 2701:3a8560c00f78
     8 
     8 
     9 #import "SchemeEditViewController.h"
     9 #import "SchemeEditViewController.h"
    10 
    10 
    11 
    11 
    12 @implementation SchemeEditViewController
    12 @implementation SchemeEditViewController
    13 
    13 @synthesize cell0, table;
    14 /*
    14 /*
    15  // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
    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 {
    16 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    17     if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
    17     if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
    18         // Custom initialization
    18         // Custom initialization
    19     }
    19     }
    20     return self;
    20     return self;
    21 }
    21 }
    22 */
    22 */
    23 
    23 
    24 /*
       
    25 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    24 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    26 - (void)viewDidLoad {
    25 - (void)viewDidLoad {
       
    26 	table.backgroundColor = [UIColor clearColor];
    27     [super viewDidLoad];
    27     [super viewDidLoad];
    28 }
    28 }
    29 */
    29 
    30 
    30 
    31 /*
    31 /*
    32 // Override to allow orientations other than the default portrait orientation.
    32 // Override to allow orientations other than the default portrait orientation.
    33 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    33 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    34     // Return YES for supported orientations
    34     // Return YES for supported orientations
    50 
    50 
    51 
    51 
    52 - (void)dealloc {
    52 - (void)dealloc {
    53     [super dealloc];
    53     [super dealloc];
    54 }
    54 }
       
    55 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
       
    56 
       
    57  
    55 
    58 
    56 
    59 
       
    60         return cell0;
       
    61 
       
    62 
       
    63 
       
    64 
       
    65 }
       
    66 -(NSInteger) numberOfSectionsInTableView:(UITableView *)tableView{
       
    67 	return 1;
       
    68 }
       
    69 
       
    70 - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
       
    71 	return 1;
       
    72 }
       
    73 
    57 @end
    74 @end