Simple UITableView Initialization


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.