Conforms to NSObject
Declared in OCRDetailViewProtocol.h

Overview

OCRDetailViewProtocol is a protocol that detail view controllers must adopt. It defines methods that the base class can invoke on subclasses.

Tasks

Properties

backButtonCached

A property used by the master view to cache the back button.

@property (nonatomic, strong) UIBarButtonItem *backButtonCached

Declared In

OCRDetailViewProtocol.h

backButtonTitle

A property used by the master view to set the back button title.

@property (nonatomic, strong) NSString *backButtonTitle

Declared In

OCRDetailViewProtocol.h

fetchedResultsController

The fetchedResultsController used to retrieve the selectedPackage.

@property (nonatomic, strong) NSFetchedResultsController *fetchedResultsController

Declared In

OCRDetailViewProtocol.h

masterPopoverController

A reference to the master view’s popoverController.

@property (nonatomic, strong) UIPopoverController *masterPopoverController

Declared In

OCRDetailViewProtocol.h

popoverControllerCached

A property used by the master view to cache the popover controller.

@property (nonatomic, strong) UIPopoverController *popoverControllerCached

Declared In

OCRDetailViewProtocol.h

selectedManagedObject

The managed object the user selected.

@property (nonatomic, strong) NSManagedObject *selectedManagedObject

Discussion

Subclasses should either cast or create a type appropriate reference to this object.

Declared In

OCRDetailViewProtocol.h

Instance Methods

configureView

The method is called on the subclass when the selectedManagedObject changes.

- (void)configureView

Discussion

The subclass should update it’s view to reflect the new data and perform other operations appropriate for its context.

Declared In

OCRDetailViewProtocol.h

reloadFetchedResults:

Reloads the fetched Results

- (void)reloadFetchedResults:(NSNotification *)aNote

Parameters

aNote

The NSNotification object, or nil.

Declared In

OCRDetailViewProtocol.h