Inherits from UITableViewController
Conforms to UISearchBarDelegate
UITextFieldDelegate
YLSearchDelegate
Declared in YLSearchViewController.h
YLSearchViewController.m

Overview

This is the view controller that handles searching for text in PDF files. The YLSearchViewController implements the YLSearchDelegate protocol to get updates about the search operation.

Tasks

Other Methods

  •   popoverController

    The parent controller must set the popover controller that should be used to present the outline view controller. This is only required on the iPad.

    property
  • – initWithPDFController:

    Initializes a YLSearchViewController object and returns it to the caller.

Other Methods

Properties

popoverController

The parent controller must set the popover controller that should be used to present the outline view controller. This is only required on the iPad.

@property (nonatomic, assign) UIPopoverController *popoverController

Discussion

The parent controller must set the popover controller that should be used to present the outline view controller. This is only required on the iPad.

Declared In

YLSearchViewController.h

Instance Methods

initWithPDFController:

Initializes a YLSearchViewController object and returns it to the caller.

- (id)initWithPDFController:(YLPDFViewController *)controller

Parameters

controller

Reference to the parent YLPDFViewController instance.

Return Value

An initialized YLSearchViewController instance.

Discussion

Initializes a YLSearchViewController object and returns it to the caller.

Declared In

YLSearchViewController.h

searchOperation:didUpdateResults:

The YLSearchOperation object informing the delegate.

- (void)searchOperation:(YLSearchOperation *)operation didUpdateResults:(NSArray *)results

Parameters

operation

The YLSearchOperation object informing the delegate.

Declared In

YLSearchOperation.h

searchOperationCanceled:

The YLSearchOperation object informing the delegate.

- (void)searchOperationCanceled:(YLSearchOperation *)operation

Parameters

operation

The YLSearchOperation object informing the delegate.

Declared In

YLSearchOperation.h

searchOperationFinished:

The YLSearchOperation object informing the delegate.

- (void)searchOperationFinished:(YLSearchOperation *)operation

Parameters

operation

The YLSearchOperation object informing the delegate.

Declared In

YLSearchOperation.h