I’m working on xmlparser and displaying the data from [this xml] to a mytableview. As you can see the first line is not aligned with the other rows.
This is how the rows are populated:
// Customize the appearance of table view cells.
- (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];
}
// Configure the cell.
cell.textLabel.text = [((AlbumObject *)[listFeed objectAtIndex:indexPath.row]) title];
return cell;
}
Am I missing something obvious?

SOLVED As you suggested the problem was some whitespace i couldn’t see from the xml.This solved:
[currentStringValue appendString:[string
stringByTrimmingCharactersInSet:[NSCharacterSet
whitespaceAndNewlineCharacterSet]]];
As you suggested the problem was some whitespace i couldn’t see from the xml.This solved: