SlyceViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in SlyceViewController.h

– slyceViewController:didOpenSession:

- (void)slyceViewController:(SlyceViewController *)viewController didOpenSession:(SlyceSession *)session

– slyceViewController:shouldDisplayDefaultDetailForItemDescriptor:

This delegate method allows for the host application to handle an item selected from search results, presumably to show it’s own custom view controller instead of Slyce’s default layer.

- (BOOL)slyceViewController:(SlyceViewController *)viewController shouldDisplayDefaultDetailForItemDescriptor:(SlyceItemDescriptor *)itemDescriptor

Parameters

viewController

The attached SlyceViewController.

itemDescriptor

A SlyceItemDescriptor object which provides information about the selected item.

Return Value

Return YES or true if the SlyceViewController should show it’s own default item detail layer. Return NO or false if your application will handle the the display of the item.

Discussion

This delegate method allows for the host application to handle an item selected from search results, presumably to show it’s own custom view controller instead of Slyce’s default layer.

Declared In

SlyceViewController.h

– slyceViewController:shouldDisplayDefaultListForItemDescriptors:

This delegate method allows for the host application to handle a list of items returned from a Slyce search, presumably to show it’s own custom view controller instead of Slyce’s default layer.

- (BOOL)slyceViewController:(SlyceViewController *)viewController shouldDisplayDefaultListForItemDescriptors:(NSArray<SlyceItemDescriptor*> *)itemDescriptors

Parameters

viewController

The attached SlyceViewController.

itemDescriptors

An array of SlyceItemDescriptor objects, each of which provide information about an individual item.

Return Value

Return YES or true if the SlyceViewController should show it’s own default item list layer. Return NO or false if your application will handle the display of the item list.

Discussion

This delegate method allows for the host application to handle a list of items returned from a Slyce search, presumably to show it’s own custom view controller instead of Slyce’s default layer.

Declared In

SlyceViewController.h

– slyceViewController:didCreateList:

This delegate method allows for the host application to handle a list that has been created during batch capture mode.

- (void)slyceViewController:(SlyceViewController *)viewController didCreateList:(SlyceListDescriptor *)list

Parameters

viewController

The attached SlyceViewController.

list

A SlyceListDescriptor object, representing each item selected by the user.

Discussion

This delegate method allows for the host application to handle a list that has been created during batch capture mode.

Declared In

SlyceViewController.h