Why is the image logic on page 314 so complicated


To show an image, why do we have to create a separate controller, popover within another controller? This part was definitely more complex than I imagined it to be.


I’m guessing because it is another entity. I suppose technically it could be put into the itemsViewController code, but then you would have a controller within a controller. This separates the two controllers from each other. I imaging it also makes it easier to implement the image view on an iPhone if you wanted to since the iPhone doesn’t support popovers. Hopefully, someone more knowledgeable will chime in.