I'm not really convinced about this delegate but, anyway, I think you should create a separated protocol file for it. It's not related to the DetailViewController, it is just implementing it.