Problem with this chapter's Project


#1

I noticed that the popover always shows the same image, regardless of what item is being selected. How is this happening?

I mean, from the NSLog statement (inside - (void)showImage:(id)sender atIndexPath:(NSIndexPath *)ip):
NSLog(@“Going to show the image for %@”, ip);
I see that the correct indexPath is set, for example when selecting the 3rd item it clearly states:
Going to show the image for <NSIndexPath 0x6830450> 2 indexes [0, 3]
…and so on.

I’ve also checked the returned imageKey: every item has different imageKeys, so how is it possible the application always shows the exact same thumbnail, regardless of what item is being selected?