Conforms to NSObject
Declared in OCRPackagesTableViewController.h

Overview

SubstitutableDetailViewController is a protocol that detail view controllers must adopt.

It defines methods to hide or show the bar button item controlling the popover.

Instance Methods

invalidateRootPopoverButtonItem:

The master view controller will call this method on the detail view when the bar button item should be hidden.

- (void)invalidateRootPopoverButtonItem:(UIBarButtonItem *)aBarButtonItem

Parameters

aBarButtonItem

the UIBarButtonItem to hide.

Declared In

OCRPackagesTableViewController.h

showRootPopoverButtonItem:withController:

The master view controller will call this method on the detail view when the bar button item should be shown.

- (void)showRootPopoverButtonItem:(UIBarButtonItem *)aBarButtonItem withController:(UIPopoverController *)aPopoverController

Parameters

aBarButtonItem

the UIBarButtonItem to show.

aPopoverController

the UIPopoverController of the master view controller.

Declared In

OCRPackagesTableViewController.h