I've searched here for a solution to this and have not found any posts on this topic.
I would like my detail view to simply display a "No object selected" message when the master table view has no selection. This is somewhat complicated by the fact that the selection can be lost on several different occasions, such as when the tableView enters edit mode, when a single cell enters edit mode (swipe for delete), or when the program operates on the table (as in reordering it).
Any ideas on how this could be accomplished? This seems like it would be a fairly standard behavior, so I have a feeling I'm missing something simple. Thanks!
If tableView:willDeselectRowAtIndexPath:
doesn't catch every case, you'll just need to catch the individual cases and call some identical method in each.
By the way, I trust you understand that the detail view displaying "No object selected" will itself be a full fledged detail view.