Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
  2. return 1;
  3. }
  4. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
  5. UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
  6. if (!cell) {
  7. cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"cell"];
  8. }
  9. return cell;
  10. }
  11.  
  12. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
  13.  
  14. }
  15. - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
  16. return 44;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement