SCSKnowledgeHomeViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in SCSKnowledgeHomeViewController.h

Overview

Delegate protocol for events related to the SCSKnowledgeHomeViewController.

– knowledgeHome:willExpandIndexes:

Informs the delegate when the set of expanded indexes will change.

- (void)knowledgeHome:(SCSKnowledgeHomeViewController *)controller willExpandIndexes:(NSIndexSet *)newIndexes

Parameters

controller

The SCSKnowledgeHomeViewController instance.

newIndexes

The new expanded indexes being set.

Declared In

SCSKnowledgeHomeViewController.h

– knowledgeHome:didExpandIndexes:

Informs the delegate when the set of expanded indexes has changed.

- (void)knowledgeHome:(SCSKnowledgeHomeViewController *)controller didExpandIndexes:(NSIndexSet *)newIndexes

Parameters

controller

The SCSKnowledgeHomeViewController instance.

newIndexes

The new expanded indexes being set.

Declared In

SCSKnowledgeHomeViewController.h

– knowledgeHome:articleSelected:

Informs the delegate when an article is selected.

- (BOOL)knowledgeHome:(SCSKnowledgeHomeViewController *)controller articleSelected:(SCSArticle *)article

Parameters

controller

The SCSKnowledgeHomeViewController instance.

article

The article that was selected.

Return Value

YES if the built-in default action should be performed, otherwise NO if no action should be performed.

Declared In

SCSKnowledgeHomeViewController.h

– knowledgeHome:showMoreArticlesSelectedForCategory:

Informs the delegate when the “Show More Articles” row is tapped for a particular category.

- (BOOL)knowledgeHome:(SCSKnowledgeHomeViewController *)controller showMoreArticlesSelectedForCategory:(SCSCategory *)category

Parameters

controller

The SCSKnowledgeHomeViewController instance.

category

The category in which the Show More button was selected.

Return Value

YES if the built-in default action should be performed, otherwise NO if no action should be performed.

Declared In

SCSKnowledgeHomeViewController.h