- (NSInteger)tableView:(UITableView *)tableView 
   numberOfRowsInSection:(NSInteger)section
{
   return 25;
}

- (UITableViewCell *)tableView:(UITableView *)tableView
   cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
   static NSString *CellIdentifier = @"Cell";
   UITableViewCell *cell = [tableView 
      dequeueReusableCellWithIdentifier:CellIdentifier];   
   if (cell == nil) { 
      cell = [[[UITableViewCell alloc] 
            initWithStyle:UITableViewCellStyleDefault 
            reuseIdentifier:CellIdentifier] autorelease]; 
   }

   cell.textLabel.text = [NSString 
      stringWithFormat:@"Nieruchomo do wynajcia %d", indexPath.row]; 

   NSLog(@"Nieruchomo do wynajcia %d", indexPath.row);
   return cell;
}
