Doubling and tripling of Location


#1

Not sure where I Scre…(Messed up) but I’m getting Double and then triple entries for each location added…

Any ideas where to start debugging??

This chapter hurt my brain.

thanks
Ian

ps. It looks like numberOfRowsInSection is returning the correct number of elements but ie. 3 but 9 are showing then
4 and 16 are showing… or x and x^2


#2

Bingo ! found it I left.

[code]- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
//NSLog(@“number of sections = %d”, [locationList count]);
return [locationList count];

}
[/code]

So the code was being executed twice…
Hope this helps someone…

Ian