FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
<UIAResultDisplayDelegate> Protocol Reference

#import <UIAResultDisplayController.h>

Inheritance diagram for <UIAResultDisplayDelegate>:

Instance Methods

(void) - resultDisplayController:didLoadResultView:
 Tells the delegate that the controller has loaded its result view. More...
 
(void) - resultDisplayController:willUnloadResultView:
 Tells the delegate that the controller will unload its result view. More...
 
(void) - resultDisplayController:didUnloadResultView:
 Tells the delegate that the controller has unloaded its result view. More...
 
(void) - resultDisplayController:willShowSearchResultView:
 Tells the delegate that the controller is about to display its result view. More...
 
(void) - resultDisplayController:didShowSearchResultView:
 Tells the delegate that the controller just displayed its result view. More...
 
(void) - resultDisplayController:willHideSearchResultView:
 Tells the delegate that the controller is about to hide its result view. More...
 
(void) - resultDisplayController:didHideSearchResultView:
 Tells the delegate that the controller just hid its result view. More...
 
(BOOL) - resultDisplayControllerHidesNavigationBar:
 Asks the delegate if the navigation bar should be hidden. More...
 
(UIView *) - resultDisplayControllerLoadResultView:
 Asks the delegate the result view. More...
 
(BOOL) - resultDisplayControllerShouldShowDimmingView:
 Asks the delegate if the result view should show dimming view. The result view will be hidden. More...
 
(BOOL) - resultDisplayControllerShouldReloadResultView:
 Asks the delegate if the result view should reload its result view. More...
 
(void) - resultDisplayController:reloadResultView:
 Tells the delegate that the controller needs reload the result view. More...
 
(void) - resultDisplayController:unloadResultView:
 Tells the delegate that the controller needs unload the result view. More...
 

Method Documentation

- (void) resultDisplayController: (UIAResultDisplayController *)  controller
didHideSearchResultView: (id)  resultView 
optional

Tells the delegate that the controller just hid its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which is just hidden.
- (void) resultDisplayController: (UIAResultDisplayController *)  controller
didLoadResultView: (id)  resultView 
optional

Tells the delegate that the controller has loaded its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which did loaded.

Called whenever active becomes YES, regardless of result view is set or not.

- (void) resultDisplayController: (UIAResultDisplayController *)  controller
didShowSearchResultView: (id)  resultView 
optional

Tells the delegate that the controller just displayed its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which is just displayed.
- (void) resultDisplayController: (UIAResultDisplayController *)  controller
didUnloadResultView: (id)  resultView 
optional

Tells the delegate that the controller has unloaded its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which did unloaded.

Called whenever active becomes NO, regardless of result view is unset or not.

- (void) resultDisplayController: (UIAResultDisplayController *)  controller
reloadResultView: (id)  resultView 
optional

Tells the delegate that the controller needs reload the result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which needs to be reloaded.
- (void) resultDisplayController: (UIAResultDisplayController *)  controller
unloadResultView: (id)  resultView 
optional

Tells the delegate that the controller needs unload the result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which needs to be unloaded.

Called if view is loaded by delegate, otherwise not.

- (void) resultDisplayController: (UIAResultDisplayController *)  controller
willHideSearchResultView: (id)  resultView 
optional

Tells the delegate that the controller is about to hide its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which is about to be hidden.
- (void) resultDisplayController: (UIAResultDisplayController *)  controller
willShowSearchResultView: (id)  resultView 
optional

Tells the delegate that the controller is about to display its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which is about to be displayed.
- (void) resultDisplayController: (UIAResultDisplayController *)  controller
willUnloadResultView: (id)  resultView 
optional

Tells the delegate that the controller will unload its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.
resultViewThe result view which will be unloaded.

Called whenever active becomes NO, regardless of result view is unset or not.

- (BOOL) resultDisplayControllerHidesNavigationBar: (UIAResultDisplayController *)  controller
optional

Asks the delegate if the navigation bar should be hidden.

Parameters
controllerThe result display controller which the receiver is the delegate.
Returns
YES if the display controller should hide its navigation bar when active becomes YES, otherwise NO.

Default is YES. If YES, this affect the navigation bar of contents view controller's navigation controller.

- (UIView *) resultDisplayControllerLoadResultView: (UIAResultDisplayController *)  controller
optional

Asks the delegate the result view.

Parameters
controllerThe result display controller which the receiver is the delegate.

If the result view is nil when active goes YES, this delegate method is called.

Returns
A view must not be nil.
- (BOOL) resultDisplayControllerShouldReloadResultView: (UIAResultDisplayController *)  controller
optional

Asks the delegate if the result view should reload its result view.

Parameters
controllerThe result display controller which the receiver is the delegate.

Called if -reloadResult is called and dimming view is not displayed. If you don't implement this method, result view is reloaded as soon as the -reloadResult is called.

Returns
YES if the display controller should reload result view now, otherwise NO.
- (BOOL) resultDisplayControllerShouldShowDimmingView: (UIAResultDisplayController *)  controller
optional

Asks the delegate if the result view should show dimming view. The result view will be hidden.

Parameters
controllerThe result display controller which the receiver is the delegate.

Called if -reloadResult is called. If you don't implement this method, dimming view is disabled.

Returns
YES if the display controller should show dimming view now, otherwise NO.

The documentation for this protocol was generated from the following file: