Importing ItemDetailViewController


Why is the import of ItemDetailViewController in the header file instead of the .m file? Is there a difference or is it just style?


Later on, you will declare a protocol in ItemDetailViewController.h. ItemsViewController.h will need to see that protocol, so you will need to import that file with the protocol in ItemsViewController.h.