Posted By

paki on 05/13/11


Tagged

objectivec UITableView


Versions (?)

Simple UITableView Initialization


 / Published in: Objective C
 

  1. UITableView *myTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height) style:UITableViewStylePlain];
  2. myTableView.delegate = self;
  3. myTableView.dataSource = self;
  4. myTableView.bounces = YES;
  5. [self.view addSubview:myTableView];
  6. [myTableView release];

Report this snippet  

You need to login to post a comment.